MaxstAR Unity
Static Public Member Functions | List of all members
maxstAR.MatrixUtils Class Reference

Matrix converting utililty class More...

Static Public Member Functions

static Vector3 PositionFromMatrix (Matrix4x4 input)
 Get position factor from matrix More...
 
static Vector3 ScaleFromMatrix (Matrix4x4 input)
 Get scale factor from matrix More...
 
static Matrix4x4 MatrixFromQuaternion (Quaternion input)
 Get Matrix4x4 from quaternion More...
 
static Quaternion QuaternionFromMatrix (Matrix4x4 m)
 Get orientation from matrix More...
 

Detailed Description

Matrix converting utililty class

Member Function Documentation

◆ MatrixFromQuaternion()

static Matrix4x4 maxstAR.MatrixUtils.MatrixFromQuaternion ( Quaternion  input)
static

Get Matrix4x4 from quaternion

Parameters
inputQuaternion
Returns
Unity Matrix4x4

◆ PositionFromMatrix()

static Vector3 maxstAR.MatrixUtils.PositionFromMatrix ( Matrix4x4  input)
static

Get position factor from matrix

Parameters
inputUnity Matrix4x4
Returns
postion

◆ QuaternionFromMatrix()

static Quaternion maxstAR.MatrixUtils.QuaternionFromMatrix ( Matrix4x4  m)
static

Get orientation from matrix

Parameters
munity matrix
Returns
orientation

◆ ScaleFromMatrix()

static Vector3 maxstAR.MatrixUtils.ScaleFromMatrix ( Matrix4x4  input)
static

Get scale factor from matrix

Parameters
inputUntiy Matrix4x4
Returns
scale

The documentation for this class was generated from the following file: