2
0

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