using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// /// Particle emitter shape that emits particles from an axis aligned box. Particles can be emitted from box volume, /// surface or edges. All particles have their normals set to positive Z direction. /// public partial class ParticleEmitterBoxShape : ParticleEmitterShape { private ParticleEmitterBoxShape(bool __dummy0) { } /// Creates a new particle emitter box shape. public ParticleEmitterBoxShape(ParticleBoxShapeOptions desc) { Internal_create(this, ref desc); } /// Creates a new particle emitter box shape. public ParticleEmitterBoxShape() { Internal_create0(this); } /// Options describing the shape. public ParticleBoxShapeOptions Options { get { ParticleBoxShapeOptions 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 ParticleBoxShapeOptions options); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleBoxShapeOptions __output); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create(ParticleEmitterBoxShape managedInstance, ref ParticleBoxShapeOptions desc); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create0(ParticleEmitterBoxShape managedInstance); } /** @} */ }