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