ParticleEmitterRectShape.generated.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Particles
  7. * @{
  8. */
  9. /// <summary>Particle emitter shape that emits particles from the surface of a rectangle.</summary>
  10. public partial class ParticleEmitterRectShape : ParticleEmitterShape
  11. {
  12. private ParticleEmitterRectShape(bool __dummy0) { }
  13. /// <summary>Creates a new particle emitter rectangle shape.</summary>
  14. public ParticleEmitterRectShape(ParticleRectShapeOptions desc)
  15. {
  16. Internal_create(this, ref desc);
  17. }
  18. /// <summary>Creates a new particle emitter rectangle shape.</summary>
  19. public ParticleEmitterRectShape()
  20. {
  21. Internal_create0(this);
  22. }
  23. /// <summary>Options describing the shape.</summary>
  24. public ParticleRectShapeOptions Options
  25. {
  26. get
  27. {
  28. ParticleRectShapeOptions temp;
  29. Internal_getOptions(mCachedPtr, out temp);
  30. return temp;
  31. }
  32. set { Internal_setOptions(mCachedPtr, ref value); }
  33. }
  34. [MethodImpl(MethodImplOptions.InternalCall)]
  35. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleRectShapeOptions options);
  36. [MethodImpl(MethodImplOptions.InternalCall)]
  37. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleRectShapeOptions __output);
  38. [MethodImpl(MethodImplOptions.InternalCall)]
  39. private static extern void Internal_create(ParticleEmitterRectShape managedInstance, ref ParticleRectShapeOptions desc);
  40. [MethodImpl(MethodImplOptions.InternalCall)]
  41. private static extern void Internal_create0(ParticleEmitterRectShape managedInstance);
  42. }
  43. /** @} */
  44. }