Class Matrix4x4
Assembly: Genesis.dll
Syntax
Constructors
Matrix4x4()
Declaration
Properties
this[int, int]
Declaration
public float this[int row, int col] { get; set; }
Parameters
Type |
Name |
Description |
int |
row |
|
int |
col |
|
Property Value
Methods
Identity()
Declaration
public static Matrix4x4 Identity()
Returns
LookAt(Vec3, Vec3, Vec3)
Declaration
public static Matrix4x4 LookAt(Vec3 eye, Vec3 target, Vec3 up)
Parameters
Returns
Multiply(Matrix4x4)
Declaration
public Matrix4x4 Multiply(Matrix4x4 right)
Parameters
Returns
Multiply(Vec3)
Declaration
public Vec3 Multiply(Vec3 vector)
Parameters
Type |
Name |
Description |
Vec3 |
vector |
|
Returns
Normalize()
Declaration
Ortho(float, float, float, float, float, float)
Declaration
public static Matrix4x4 Ortho(float left, float right, float bottom, float top, float near, float far)
Parameters
Returns
RotateX(float)
Declaration
public static Matrix4x4 RotateX(float angleInRadians)
Parameters
Type |
Name |
Description |
float |
angleInRadians |
|
Returns
RotateY(float)
Declaration
public static Matrix4x4 RotateY(float angleInRadians)
Parameters
Type |
Name |
Description |
float |
angleInRadians |
|
Returns
RotateZ(float)
Declaration
public static Matrix4x4 RotateZ(float angleInRadians)
Parameters
Type |
Name |
Description |
float |
angleInRadians |
|
Returns
Scale(Vec3)
Declaration
public static Matrix4x4 Scale(Vec3 scale)
Parameters
Type |
Name |
Description |
Vec3 |
scale |
|
Returns
ToArray()
Declaration
Returns
Translate(Vec3)
Declaration
public static Matrix4x4 Translate(Vec3 translation)
Parameters
Type |
Name |
Description |
Vec3 |
translation |
|
Returns
Operators
operator *(Matrix4x4, Matrix4x4)
Declaration
public static Matrix4x4 operator *(Matrix4x4 left, Matrix4x4 right)
Parameters
Returns