Convert native ArcFrame types to native TrackFlow types. There is almost no functional difference between this class and Helpers, I got too deep and don't want to combine them and fix all the references. They both have different methods, and Helpers is geared more towards math utilities.
More...
|
| static double[] | D3 (Vector3 v) |
| | Unity Vector3 -> double[3].
|
| static void | D3 (Vector3 v, double[] array3) |
| static double[,] | R3 (Quaternion q) |
| | Create a rotation matrix from a quaternion. C# native 2d arrays are accessed row first (row major order, the row is the first index) But Unity's Matrix4x4 uses column major order.
|
| static Vector3 Vector3 Vector3 binormal | GetBases (Quaternion q) |
| static RigidTransform | ToRigidTransform (Transform t) |
| | Build an RigidTransform from a Unity Transform (position+rotation only, uniform scale assumed).
|
| static Vector3 | ToV3 (double[] d) |
| static Vector2 | ToV2 (double[] d) |
| static Vector3 | MCol (double[,] M, int col) |
| | Return the column of a double matrix as a Vector3.
|
| static void | SetCol (double[,] M, int col, in Vector3 v) |
|
| static Vector3 | tangent |
| | Convert a quaternion into a set of basis vectors.
|
| static Vector3 Vector3 | normal |
Convert native ArcFrame types to native TrackFlow types. There is almost no functional difference between this class and Helpers, I got too deep and don't want to combine them and fix all the references. They both have different methods, and Helpers is geared more towards math utilities.
◆ D3() [1/2]
| double[] TrackFlowPro.Runtime.ArcFrameBridge.D3 |
( |
Vector3 | v | ) |
|
|
static |
Unity Vector3 -> double[3].
◆ D3() [2/2]
| void TrackFlowPro.Runtime.ArcFrameBridge.D3 |
( |
Vector3 | v, |
|
|
double[] | array3 ) |
|
static |
◆ GetBases()
| Vector3 Vector3 Vector3 binormal TrackFlowPro.Runtime.ArcFrameBridge.GetBases |
( |
Quaternion | q | ) |
|
|
static |
◆ MCol()
| Vector3 TrackFlowPro.Runtime.ArcFrameBridge.MCol |
( |
double | M[,], |
|
|
int | col ) |
|
static |
Return the column of a double matrix as a Vector3.
- Parameters
-
- Returns
◆ R3()
| double[,] TrackFlowPro.Runtime.ArcFrameBridge.R3 |
( |
Quaternion | q | ) |
|
|
static |
Create a rotation matrix from a quaternion. C# native 2d arrays are accessed row first (row major order, the row is the first index) But Unity's Matrix4x4 uses column major order.
- Parameters
-
- Returns
◆ SetCol()
| void TrackFlowPro.Runtime.ArcFrameBridge.SetCol |
( |
double | M[,], |
|
|
int | col, |
|
|
in Vector3 | v ) |
|
static |
◆ ToRigidTransform()
| RigidTransform TrackFlowPro.Runtime.ArcFrameBridge.ToRigidTransform |
( |
Transform | t | ) |
|
|
static |
Build an RigidTransform from a Unity Transform (position+rotation only, uniform scale assumed).
◆ ToV2()
| Vector2 TrackFlowPro.Runtime.ArcFrameBridge.ToV2 |
( |
double[] | d | ) |
|
|
static |
◆ ToV3()
| Vector3 TrackFlowPro.Runtime.ArcFrameBridge.ToV3 |
( |
double[] | d | ) |
|
|
static |
◆ normal
| Vector3 Vector3 TrackFlowPro.Runtime.ArcFrameBridge.normal |
|
static |
◆ tangent
| Vector3 TrackFlowPro.Runtime.ArcFrameBridge.tangent |
|
static |
Convert a quaternion into a set of basis vectors.
- Parameters
-
- Returns
The documentation for this class was generated from the following file: