using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// /// Particle emitter shape that emits particles from a cone. Particles can be created on cone base or volume, while /// controling the radial arc of the emitted portion of the volume, as well as thickness of the cone emission volume. All /// particles will have random normals within the distribution of the cone. /// public partial class ParticleEmitterConeShape : ParticleEmitterShape { private ParticleEmitterConeShape(bool __dummy0) { } /// Creates a new particle emitter cone shape. public ParticleEmitterConeShape(ParticleConeShapeOptions desc) { Internal_create(this, ref desc); } /// Creates a new particle emitter cone shape. public ParticleEmitterConeShape() { Internal_create0(this); } /// Options describing the shape. public ParticleConeShapeOptions Options { get { ParticleConeShapeOptions 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 ParticleConeShapeOptions options); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleConeShapeOptions __output); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create(ParticleEmitterConeShape managedInstance, ref ParticleConeShapeOptions desc); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create0(ParticleEmitterConeShape managedInstance); } /** @} */ }