ParticleEmitterConeShape.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 cone. Particles can be created on cone base or volume, while
  11. /// controling the radial arc of the emitted portion of the volume, as well as thickness of the cone emission volume. All
  12. /// particles will have random normals within the distribution of the cone.
  13. /// </summary>
  14. [ShowInInspector]
  15. public partial class ParticleEmitterConeShape : ParticleEmitterShape
  16. {
  17. private ParticleEmitterConeShape(bool __dummy0) { }
  18. /// <summary>Creates a new particle emitter cone shape.</summary>
  19. public ParticleEmitterConeShape(ParticleConeShapeOptions desc)
  20. {
  21. Internal_create(this, ref desc);
  22. }
  23. /// <summary>Creates a new particle emitter cone shape.</summary>
  24. public ParticleEmitterConeShape()
  25. {
  26. Internal_create0(this);
  27. }
  28. /// <summary>Options describing the shape.</summary>
  29. [ShowInInspector]
  30. public ParticleConeShapeOptions Options
  31. {
  32. get
  33. {
  34. ParticleConeShapeOptions 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 ParticleConeShapeOptions options);
  42. [MethodImpl(MethodImplOptions.InternalCall)]
  43. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleConeShapeOptions __output);
  44. [MethodImpl(MethodImplOptions.InternalCall)]
  45. private static extern void Internal_create(ParticleEmitterConeShape managedInstance, ref ParticleConeShapeOptions desc);
  46. [MethodImpl(MethodImplOptions.InternalCall)]
  47. private static extern void Internal_create0(ParticleEmitterConeShape managedInstance);
  48. }
  49. /** @} */
  50. }