ParticleEmitterCircleShape.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 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. public partial class ParticleEmitterCircleShape : ParticleEmitterShape
  15. {
  16. private ParticleEmitterCircleShape(bool __dummy0) { }
  17. /// <summary>Creates a new particle emitter circle shape.</summary>
  18. public ParticleEmitterCircleShape(ParticleCircleShapeOptions desc)
  19. {
  20. Internal_create(this, ref desc);
  21. }
  22. /// <summary>Creates a new particle emitter circle shape.</summary>
  23. public ParticleEmitterCircleShape()
  24. {
  25. Internal_create0(this);
  26. }
  27. /// <summary>Options describing the shape.</summary>
  28. public ParticleCircleShapeOptions Options
  29. {
  30. get
  31. {
  32. ParticleCircleShapeOptions 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 ParticleCircleShapeOptions options);
  40. [MethodImpl(MethodImplOptions.InternalCall)]
  41. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleCircleShapeOptions __output);
  42. [MethodImpl(MethodImplOptions.InternalCall)]
  43. private static extern void Internal_create(ParticleEmitterCircleShape managedInstance, ref ParticleCircleShapeOptions desc);
  44. [MethodImpl(MethodImplOptions.InternalCall)]
  45. private static extern void Internal_create0(ParticleEmitterCircleShape managedInstance);
  46. }
  47. /** @} */
  48. }