using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// Applies linear velocity to the particles. public partial class ParticleVelocity : ParticleEvolver { private ParticleVelocity(bool __dummy0) { } /// Creates a new particle velocity evolver. public ParticleVelocity(ParticleVelocityOptions desc) { Internal_create(this, ref desc); } /// Creates a new particle velocity evolver. public ParticleVelocity() { Internal_create0(this); } /// Options describing the evolver. public ParticleVelocityOptions Options { get { ParticleVelocityOptions temp; Internal_getOptions(mCachedPtr, out temp); return temp; } set { Internal_setOptions(mCachedPtr, ref value); } } [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleVelocityOptions options); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleVelocityOptions __output); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create(ParticleVelocity managedInstance, ref ParticleVelocityOptions desc); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create0(ParticleVelocity managedInstance); } /** @} */ }