struct
ThreeD<T>
A generic 3D wrapper.
Type Parameters
Name | Description |
---|---|
T | The unmanaged type to store per 3D axis, X, Y, and Z. |
Fields
X | The value mapped to the X axis. |
Y | The value mapped to the Y axis. |
Z | The value mapped to the Z axis. |
Properties
Item[int] | Access each |
XY | Maps the X and Y values to a TwoD<T>. |
XZ | Maps the X and Z values to a TwoD<T>. |
YZ | Maps the Y and Z values to a TwoD<T>. |
Methods
Equals | Equality compare. |
Constructors
ThreeD(T, T, T) | Constructs a new ThreeD<T>. |
Operators
Explicit(ThreeD<T> to TwoD<T>) | |
Implicit(T to ThreeD<T>) | |
Implicit(TwoD<T> to ThreeD<T>) | Assigns both X and Y to |