using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// Information describing a ParticleEmitterBoxShape. [StructLayout(LayoutKind.Sequential), SerializeObject] public partial struct ParticleBoxShapeOptions { /// Initializes the struct with default values. public static ParticleBoxShapeOptions Default() { ParticleBoxShapeOptions value = new ParticleBoxShapeOptions(); value.type = ParticleEmitterBoxType.Volume; value.extents = new Vector3(); return value; } /// Determines from which portion of the box should particles be emitted from. public ParticleEmitterBoxType type; /// Extends of the box. public Vector3 extents; } /** @} */ }