Свойство | Type | Description | |
---|---|---|---|
Identity |
Méthode | Description | |
---|---|---|
Frustum ( float left, float right, float bottom, float top, float near, float far ) : |
Build a projection matrix
|
|
Invert ( |
Calculate the inverse of the given matrix
|
|
LookAt ( Vector3f eye, Vector3f target, Vector3f up ) : |
Build a world space to camera space matrix
|
|
Matrix4 ( ) : System | ||
Matrix4 ( float elements ) : System | ||
Matrix4 ( |
Construct a new matrix from 4 vectors representing each row
|
|
Mult ( |
Post multiply this matrix by another matrix
|
|
Mult ( |
||
Perspective ( float fovy, float aspect, float near, float far ) : |
Build a projection matrix
|
|
Rotate ( Quaternion q ) : |
Build a rotation matrix from a quaternion
|
|
Rotate ( |
Build a rotation matrix to rotate about the given axis
|
|
RotateX ( float angle ) : |
Build a rotation matrix that rotates about the x-axis
|
|
RotateY ( float angle ) : |
Build a rotation matrix that rotates about the y-axis
|
|
RotateZ ( float angle ) : |
Build a rotation matrix that rotates about the z-axis
|
|
Scale ( float x, float y, float z ) : void | ||
Set ( float vec ) : void | ||
SetToIdentity ( ) : void | ||
ToString ( ) : string |
Returns a System.String that represents the current Matrix44.
|
|
Translate ( float x, float y, float z ) : void | ||
Translation ( Vector3f trans ) : |
Build a translation matrix with the given translation
|
|
Translation ( float x, float y, float z ) : |
Build a translation matrix with the given translation
|
|
Transpose ( |
Calculate the transpose of the given matrix
|
|
Transpose ( ) : void | ||
Transpose ( |
Calculate the transpose of the given matrix
|
|
get ( int x, int y ) : float | ||
operator ( ) : |
Matrix multiplication
|
public static Frustum ( float left, float right, float bottom, float top, float near, float far ) : |
||
left | float | Left edge of the view frustum |
right | float | Right edge of the view frustum |
bottom | float | Bottom edge of the view frustum |
top | float | Top edge of the view frustum |
near | float | Distance to the near clip plane |
far | float | Distance to the far clip plane |
Résultat |
public static Invert ( |
||
mat | The matrix to invert | |
Résultat |
public static LookAt ( Vector3f eye, Vector3f target, Vector3f up ) : |
||
eye | Vector3f | Eye (camera) position in world space |
target | Vector3f | Target position in world space |
up | Vector3f | Up vector in world space (should not be parallel to the camera direction, that is target - eye) |
Résultat |
public Matrix4 ( |
||
row0 | Top row of the matrix | |
row1 | 2nd row of the matrix | |
row2 | 3rd row of the matrix | |
row3 | Bottom row of the matrix | |
Résultat | System |
public static Mult ( |
||
left | ||
right | The matrix to multiply | |
Résultat |
public static Mult ( |
||
left | ||
right | ||
result | ||
Résultat | void |
public static Perspective ( float fovy, float aspect, float near, float far ) : |
||
fovy | float | Angle of the field of view in the y direction (in radians) |
aspect | float | Aspect ratio of the view (width / height) |
near | float | Distance to the near clip plane |
far | float | Distance to the far clip plane |
Résultat |
public static Rotate ( Quaternion q ) : |
||
q | Quaternion | the quaternion |
Résultat |
public static Rotate ( |
||
axis | the axis to rotate about | |
angle | float | angle in radians to rotate counter-clockwise (looking in the direction of the given axis) |
Résultat |
public static RotateX ( float angle ) : |
||
angle | float | angle in radians to rotate counter-clockwise around the x-axis |
Résultat |
public static RotateY ( float angle ) : |
||
angle | float | angle in radians to rotate counter-clockwise around the y-axis |
Résultat |
public static RotateZ ( float angle ) : |
||
angle | float | angle in radians to rotate counter-clockwise around the z-axis |
Résultat |
public Scale ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
Résultat | void |
public Translate ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
Résultat | void |
public static Translation ( Vector3f trans ) : |
||
trans | Vector3f | The vector to translate along |
Résultat |
public static Translation ( float x, float y, float z ) : |
||
x | float | X translation |
y | float | Y translation |
z | float | Z translation |
Résultat |
public static Transpose ( |
||
mat | The matrix to transpose | |
Résultat |
public static Transpose ( |
||
mat | The matrix to transpose | |
result | ||
Résultat | void |