ParticleEmitterCircleShape.generated.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 circle. Using the thickness parameter you can control whether to
  11. /// emit only from circle edge, the entire surface or just a part of the surface. Using the arc parameter you can emit
  12. /// from a specific angular portion of the circle.
  13. /// </summary>
  14. [ShowInInspector]
  15. public partial class ParticleEmitterCircleShape : ParticleEmitterShape
  16. {
  17. private ParticleEmitterCircleShape(bool __dummy0) { }
  18. /// <summary>Creates a new particle emitter circle shape.</summary>
  19. public ParticleEmitterCircleShape(ParticleCircleShapeOptions desc)
  20. {
  21. Internal_create(this, ref desc);
  22. }
  23. /// <summary>Creates a new particle emitter circle shape.</summary>
  24. public ParticleEmitterCircleShape()
  25. {
  26. Internal_create0(this);
  27. }
  28. /// <summary>Options describing the shape.</summary>
  29. [ShowInInspector]
  30. public ParticleCircleShapeOptions Options
  31. {
  32. get
  33. {
  34. ParticleCircleShapeOptions temp;
  35. Internal_getOptions(mCachedPtr, out temp);
  36. return temp;
  37. }
  38. set { Internal_setOptions(mCachedPtr, ref value); }
  39. }
  40. [MethodImpl(MethodImplOptions.InternalCall)]
  41. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleCircleShapeOptions options);
  42. [MethodImpl(MethodImplOptions.InternalCall)]
  43. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleCircleShapeOptions __output);
  44. [MethodImpl(MethodImplOptions.InternalCall)]
  45. private static extern void Internal_create(ParticleEmitterCircleShape managedInstance, ref ParticleCircleShapeOptions desc);
  46. [MethodImpl(MethodImplOptions.InternalCall)]
  47. private static extern void Internal_create0(ParticleEmitterCircleShape managedInstance);
  48. }
  49. /** @} */
  50. }