PARTICLE_LINE_SHAPE_DESC.generated.cs 834 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Particles
  7. * @{
  8. */
  9. /// <summary>Information describing a ParticleEmitterLineShape.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct ParticleLineShapeOptions
  12. {
  13. /// <summary>Initializes the struct with default values.</summary>
  14. public static ParticleLineShapeOptions Default()
  15. {
  16. ParticleLineShapeOptions value = new ParticleLineShapeOptions();
  17. value.length = 1f;
  18. value.mode = new ParticleEmissionMode();
  19. return value;
  20. }
  21. /// <summary>Length of the line.</summary>
  22. public float length;
  23. /// <summary>Determines how will particle positions on the shape be generated.</summary>
  24. public ParticleEmissionMode mode;
  25. }
  26. /** @} */
  27. }