ParticleEmitterStaticMeshShape.generated.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 surface of a static (non-animated) mesh. Particles can be emitted
  11. /// from mesh vertices, edges or triangles. If information about normals exists, particles will also inherit the normals.
  12. /// </summary>
  13. public partial class ParticleEmitterStaticMeshShape : ParticleEmitterShape
  14. {
  15. private ParticleEmitterStaticMeshShape(bool __dummy0) { }
  16. /// <summary>Creates a new particle emitter static mesh shape.</summary>
  17. public ParticleEmitterStaticMeshShape(ParticleStaticMeshShapeOptions desc)
  18. {
  19. Internal_create(this, ref desc);
  20. }
  21. /// <summary>Creates a new particle emitter static mesh shape.</summary>
  22. public ParticleEmitterStaticMeshShape()
  23. {
  24. Internal_create0(this);
  25. }
  26. /// <summary>Options describing the shape.</summary>
  27. public ParticleStaticMeshShapeOptions Options
  28. {
  29. get
  30. {
  31. ParticleStaticMeshShapeOptions temp;
  32. Internal_getOptions(mCachedPtr, out temp);
  33. return temp;
  34. }
  35. set { Internal_setOptions(mCachedPtr, ref value); }
  36. }
  37. [MethodImpl(MethodImplOptions.InternalCall)]
  38. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleStaticMeshShapeOptions options);
  39. [MethodImpl(MethodImplOptions.InternalCall)]
  40. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleStaticMeshShapeOptions __output);
  41. [MethodImpl(MethodImplOptions.InternalCall)]
  42. private static extern void Internal_create(ParticleEmitterStaticMeshShape managedInstance, ref ParticleStaticMeshShapeOptions desc);
  43. [MethodImpl(MethodImplOptions.InternalCall)]
  44. private static extern void Internal_create0(ParticleEmitterStaticMeshShape managedInstance);
  45. }
  46. /** @} */
  47. }