using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// Descriptor structure used for initialization of a VectorField. [StructLayout(LayoutKind.Sequential), SerializeObject] public partial struct VectorFieldOptions { /// Initializes the struct with default values. public static VectorFieldOptions Default() { VectorFieldOptions value = new VectorFieldOptions(); value.countX = 1; value.countY = 1; value.countZ = 1; value.bounds = new AABox(); return value; } /// Number of entries in the vector field along the X axis. public uint countX; /// Number of entries in the vector field along the Y axis. public uint countY; /// Number of entries in the vector field along the Z axis. public uint countZ; /// Spatial bounds of the vector field. public AABox bounds; } /** @} */ }