using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// Rotates the particles over the particle lifetime. public partial class ParticleRotation : ParticleEvolver { private ParticleRotation(bool __dummy0) { } /// Creates a new particle rotation evolver. public ParticleRotation(ParticleRotationOptions desc) { Internal_create(this, ref desc); } /// Creates a new particle rotation evolver. public ParticleRotation() { Internal_create0(this); } /// Options describing the evolver. public ParticleRotationOptions Options { get { ParticleRotationOptions 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 ParticleRotationOptions options); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleRotationOptions __output); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create(ParticleRotation managedInstance, ref ParticleRotationOptions desc); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create0(ParticleRotation managedInstance); } /** @} */ }