Метод | Описание | |
---|---|---|
Identity ( ) : void |
Identity matrix
|
|
Inverse ( ) : |
Get inverse matrix
|
|
Matrix4 ( ) : System |
Construct a identity matrix
|
|
Matrix4 ( Vector4 origin ) : System |
ctor,translation matrix.
|
|
Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis ) : System |
Construct a 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 ( Matrix4 left, Matrix4 right ) : Matrix4 |
Multiply matrix left and right
|
|
RotationInverse ( ) : Matrix4 |
If it is a rotation matrix,this method can get the rotation inverse matrix.
|
|
ScaleInverse ( ) : Matrix4 |
If it is a scale matrix,this method can get the scale inverse matrix.
|
|
TransForm ( Vector4 point ) : Vector4 |
Transform point use this matrix
|
|
TransLationInverse ( ) : Matrix4 |
If it 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 |
Результат | 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 |
Результат | 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 |
Результат | System |
public Matrix4 ( float scale ) : System | ||
scale | float | scale factor |
Результат | System |
public static Multiply ( Matrix4 left, Matrix4 right ) : Matrix4 | ||
left | Matrix4 | Left matrix |
right | Matrix4 | Right matrix |
Результат | Matrix4 |
public TransForm ( Vector4 point ) : Vector4 | ||
point | Vector4 | Point needed to be transformed |
Результат | Vector4 |
public this ( int row, int column ) : float | ||
row | int | row number |
column | int | column number |
Результат | float |