Method | Description | |
---|---|---|
Identity ( ) : void |
Identity matrix
|
|
Inverse ( ) : |
get inverse matrix
|
|
Matrix4 ( ) : System |
default ctor
|
|
Matrix4 ( Vector4 origin ) : System |
ctor,translation matrix.
|
|
Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis ) : System |
ctor,rotation matrix,origin at (0,0,0)
|
|
Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis, Vector4 origin ) : System |
rotation and translation matrix constructor
|
|
Matrix4 ( float scale ) : System |
scale matrix constructor
|
|
Multiply ( |
multiply matrix left and right
|
|
RotationInverse ( ) : |
if m_matrix is a rotation matrix,this method can get the rotation inverse matrix.
|
|
ScaleInverse ( ) : |
if m_matrix is a scale matrix,this method can get the scale inverse matrix.
|
|
Transform ( Vector4 point ) : Vector4 |
transform point use this matrix
|
|
TranslationInverse ( ) : |
if this m_matrix is a translation matrix, this method can get the translation inverse matrix.
|
|
this ( int row, int column ) : float |
indexer of matrix
|
public Matrix4 ( Vector4 origin ) : System | ||
origin | Vector4 | origin of ucs in world coordinate |
return | System |
public Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis ) : System | ||
xAxis | Vector4 | identity of x axis |
yAxis | Vector4 | identity of y axis |
zAxis | Vector4 | identity of z axis |
return | System |
public Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis, Vector4 origin ) : System | ||
xAxis | Vector4 | x Axis |
yAxis | Vector4 | y Axis |
zAxis | Vector4 | z Axis |
origin | Vector4 | origin |
return | System |
public Matrix4 ( float scale ) : System | ||
scale | float | scale factor |
return | System |
public static Multiply ( |
||
left | left matrix | |
right | right matrix | |
return |
public Transform ( Vector4 point ) : Vector4 | ||
point | Vector4 | point needed to be transformed |
return | Vector4 |
public this ( int row, int column ) : float | ||
row | int | row number |
column | int | column number |
return | float |