ParticleEmitterCircleShape.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 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. [NativeWrapper]
  31. public ParticleCircleShapeOptions Options
  32. {
  33. get
  34. {
  35. ParticleCircleShapeOptions 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 ParticleCircleShapeOptions options);
  43. [MethodImpl(MethodImplOptions.InternalCall)]
  44. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleCircleShapeOptions __output);
  45. [MethodImpl(MethodImplOptions.InternalCall)]
  46. private static extern void Internal_create(ParticleEmitterCircleShape managedInstance, ref ParticleCircleShapeOptions desc);
  47. [MethodImpl(MethodImplOptions.InternalCall)]
  48. private static extern void Internal_create0(ParticleEmitterCircleShape managedInstance);
  49. }
  50. /** @} */
  51. }