Data Structures

Data structures are, of course, the primary functionality included in the Data Structures package. All of the following data structures are available in the package:


Bool3

Stores a tuple of 3 booleans.


Bitmask

A bitmask representation that can be used for bitwise operations. A bitmask is a set of bits that can be set or cleared.


Quantity<T>

Stores a quantity of a given entity type.


Size

Stores the size of an entity as a width and height.


GridSize

Stores the size of a grid as rows and columns.


Range<T>

A range of values of the given type.


ClampedRange

A range of values clamped between a lower and upper bound.


ColorRange

A range of Color values.


EulerRange

A range of euler values wrapped between -360 and +360.


FloatRange

A range of float values.


IntRange

A range of int values.


UIntRange

A range of uint values.


UnitIntervalRange

A range of values between zero and one.


Vector2Range

A range of Vector2 values.


Vector3Range

A range of Vector3 values.


Vector4Range

A range of Vector4 values.