Struct Omnitree.Vector<A1, A2, A3>
Represents a 3D vector.
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public struct Vector<A1, A2, A3>
Type Parameters
Name | Description |
---|---|
A1 | The generic type of the 1 dimension. |
A2 | The generic type of the 2 dimension. |
A3 | The generic type of the 3 dimension. |
Constructors
| Improve this Doc View SourceVector(A1, A2, A3)
A location along each axis.
Declaration
public Vector(A1 axis1, A2 axis2, A3 axis3)
Parameters
Type | Name | Description |
---|---|---|
A1 | axis1 | The location along axis 1. |
A2 | axis2 | The location along axis 2. |
A3 | axis3 | The location along axis 3. |
Fields
| Improve this Doc View SourceAxis1
The value along axis 1.
Declaration
public A1 Axis1
Field Value
Type | Description |
---|---|
A1 |
Axis2
The value along axis 2.
Declaration
public A2 Axis2
Field Value
Type | Description |
---|---|
A2 |
Axis3
The value along axis 3.
Declaration
public A3 Axis3
Field Value
Type | Description |
---|---|
A3 |
Properties
| Improve this Doc View SourceDefault
Returns a vector with defaulted values.
Declaration
public static Omnitree.Vector<A1, A2, A3> Default { get; }
Property Value
Type | Description |
---|---|
Omnitree.Vector<A1, A2, A3> |