using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Particles
* @{
*/
/// Structure used for initializing a ParticleTextureAnimation object.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct ParticleTextureAnimationOptions
{
/// Initializes the struct with default values.
public static ParticleTextureAnimationOptions Default()
{
ParticleTextureAnimationOptions value = new ParticleTextureAnimationOptions();
value.randomizeRow = false;
value.numCycles = 1;
return value;
}
///
/// Randomly pick a row to use for animation when the particle is first spawned. This implies that only a single row of
/// the grid will be used for individual particle's animation.
///
public bool randomizeRow;
/// Number of cycles to loop the animation during particle's lifetime.
public uint numCycles;
}
/** @} */
}