using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// Particle emitter shape that emits particles from the surface of a rectangle. public partial class ParticleEmitterRectShape : ParticleEmitterShape { private ParticleEmitterRectShape(bool __dummy0) { } /// Creates a new particle emitter rectangle shape. public ParticleEmitterRectShape(ParticleRectShapeOptions desc) { Internal_create(this, ref desc); } /// Creates a new particle emitter rectangle shape. public ParticleEmitterRectShape() { Internal_create0(this); } /// Options describing the shape. public ParticleRectShapeOptions Options { get { ParticleRectShapeOptions 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 ParticleRectShapeOptions options); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleRectShapeOptions __output); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create(ParticleEmitterRectShape managedInstance, ref ParticleRectShapeOptions desc); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create0(ParticleEmitterRectShape managedInstance); } /** @} */ }