PARTICLE_SPHERE_SHAPE_DESC.generated.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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 ParticleEmitterSphereShape.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct ParticleSphereShapeOptions
  12. {
  13. /// <summary>Initializes the struct with default values.</summary>
  14. public static ParticleSphereShapeOptions Default()
  15. {
  16. ParticleSphereShapeOptions value = new ParticleSphereShapeOptions();
  17. value.radius = 0f;
  18. value.thickness = 0f;
  19. return value;
  20. }
  21. /// <summary>Radius of the sphere.</summary>
  22. public float radius;
  23. /// <summary>
  24. /// Proportion of the volume that can emit particles. Thickness of 0 results in particles being emitted only from the
  25. /// edge of the volume, while thickness of 1 results in particles being emitted from the entire volume. In-between values
  26. /// will use a part of the volume.
  27. /// </summary>
  28. public float thickness;
  29. }
  30. /** @} */
  31. }