using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Particles
* @{
*/
/// Structure used for initializing a ParticleVelocity object.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct ParticleVelocityOptions
{
/// Initializes the struct with default values.
public static ParticleVelocityOptions Default()
{
ParticleVelocityOptions value = new ParticleVelocityOptions();
value.velocity = null;
value.worldSpace = false;
return value;
}
/// Determines the velocity of the particles evaluated over particle lifetime.
public Vector3Distribution velocity;
/// True if the velocity is provided in world space, false if in local space.
public bool worldSpace;
}
/** @} */
}