PARTICLE_BOX_SHAPE_DESC.generated.cs 858 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 ParticleEmitterBoxShape.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct ParticleBoxShapeOptions
  12. {
  13. /// <summary>Initializes the struct with default values.</summary>
  14. public static ParticleBoxShapeOptions Default()
  15. {
  16. ParticleBoxShapeOptions value = new ParticleBoxShapeOptions();
  17. value.type = ParticleEmitterBoxType.Volume;
  18. value.extents = new Vector3();
  19. return value;
  20. }
  21. /// <summary>Determines from which portion of the box should particles be emitted from.</summary>
  22. public ParticleEmitterBoxType type;
  23. /// <summary>Extends of the box.</summary>
  24. public Vector3 extents;
  25. }
  26. /** @} */
  27. }