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