ParticleEmitterSphereShape.generated.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Particles
  7. * @{
  8. */
  9. /// <summary>
  10. /// Particle emitter shape that emits particles from a sphere. Particles can be emitted from sphere surface, the entire
  11. /// volume or a proportion of the volume depending on the thickness parameter. All particles will have normals pointing
  12. /// outwards in a spherical direction.
  13. /// </summary>
  14. public partial class ParticleEmitterSphereShape : ParticleEmitterShape
  15. {
  16. private ParticleEmitterSphereShape(bool __dummy0) { }
  17. /// <summary>Creates a new particle emitter sphere shape.</summary>
  18. public ParticleEmitterSphereShape(ParticleSphereShapeOptions desc)
  19. {
  20. Internal_create(this, ref desc);
  21. }
  22. /// <summary>Creates a new particle emitter sphere shape.</summary>
  23. public ParticleEmitterSphereShape()
  24. {
  25. Internal_create0(this);
  26. }
  27. /// <summary>Options describing the shape.</summary>
  28. public ParticleSphereShapeOptions Options
  29. {
  30. get
  31. {
  32. ParticleSphereShapeOptions temp;
  33. Internal_getOptions(mCachedPtr, out temp);
  34. return temp;
  35. }
  36. set { Internal_setOptions(mCachedPtr, ref value); }
  37. }
  38. [MethodImpl(MethodImplOptions.InternalCall)]
  39. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleSphereShapeOptions options);
  40. [MethodImpl(MethodImplOptions.InternalCall)]
  41. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleSphereShapeOptions __output);
  42. [MethodImpl(MethodImplOptions.InternalCall)]
  43. private static extern void Internal_create(ParticleEmitterSphereShape managedInstance, ref ParticleSphereShapeOptions desc);
  44. [MethodImpl(MethodImplOptions.InternalCall)]
  45. private static extern void Internal_create0(ParticleEmitterSphereShape managedInstance);
  46. }
  47. /** @} */
  48. }