ParticleEmitterSphereShape.generated.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. [ShowInInspector]
  15. public partial class ParticleEmitterSphereShape : ParticleEmitterShape
  16. {
  17. private ParticleEmitterSphereShape(bool __dummy0) { }
  18. /// <summary>Creates a new particle emitter sphere shape.</summary>
  19. public ParticleEmitterSphereShape(ParticleSphereShapeOptions desc)
  20. {
  21. Internal_create(this, ref desc);
  22. }
  23. /// <summary>Creates a new particle emitter sphere shape.</summary>
  24. public ParticleEmitterSphereShape()
  25. {
  26. Internal_create0(this);
  27. }
  28. /// <summary>Options describing the shape.</summary>
  29. [ShowInInspector]
  30. [NativeWrapper]
  31. public ParticleSphereShapeOptions Options
  32. {
  33. get
  34. {
  35. ParticleSphereShapeOptions temp;
  36. Internal_getOptions(mCachedPtr, out temp);
  37. return temp;
  38. }
  39. set { Internal_setOptions(mCachedPtr, ref value); }
  40. }
  41. [MethodImpl(MethodImplOptions.InternalCall)]
  42. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleSphereShapeOptions options);
  43. [MethodImpl(MethodImplOptions.InternalCall)]
  44. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleSphereShapeOptions __output);
  45. [MethodImpl(MethodImplOptions.InternalCall)]
  46. private static extern void Internal_create(ParticleEmitterSphereShape managedInstance, ref ParticleSphereShapeOptions desc);
  47. [MethodImpl(MethodImplOptions.InternalCall)]
  48. private static extern void Internal_create0(ParticleEmitterSphereShape managedInstance);
  49. }
  50. /** @} */
  51. }