using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// /// Particle emitter shape that emits particles from a sphere. Particles can be emitted from sphere surface, the entire /// volume or a proportion of the volume depending on the thickness parameter. All particles will have normals pointing /// outwards in a spherical direction. /// public partial class ParticleEmitterSphereShape : ParticleEmitterShape { private ParticleEmitterSphereShape(bool __dummy0) { } /// Creates a new particle emitter sphere shape. public ParticleEmitterSphereShape(ParticleSphereShapeOptions desc) { Internal_create(this, ref desc); } /// Creates a new particle emitter sphere shape. public ParticleEmitterSphereShape() { Internal_create0(this); } /// Options describing the shape. public ParticleSphereShapeOptions Options { get { ParticleSphereShapeOptions 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 ParticleSphereShapeOptions options); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleSphereShapeOptions __output); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create(ParticleEmitterSphereShape managedInstance, ref ParticleSphereShapeOptions desc); [MethodImpl(MethodImplOptions.InternalCall)] private static extern void Internal_create0(ParticleEmitterSphereShape managedInstance); } /** @} */ }