| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace BansheeEngine
- {
- /** @addtogroup Particles
- * @{
- */
- /// <summary>Information describing a ParticleEmitterLineShape.</summary>
- [StructLayout(LayoutKind.Sequential), SerializeObject]
- public partial struct ParticleLineShapeOptions
- {
- /// <summary>Initializes the struct with default values.</summary>
- public static ParticleLineShapeOptions Default()
- {
- ParticleLineShapeOptions value = new ParticleLineShapeOptions();
- value.length = 1f;
- value.mode = new ParticleEmissionMode();
- return value;
- }
- /// <summary>Length of the line.</summary>
- public float length;
- /// <summary>Determines how will particle positions on the shape be generated.</summary>
- public ParticleEmissionMode mode;
- }
- /** @} */
- }
|