CryEngine.Matrix4x4

Inherits IEquatable< Matrix4x4 >.

Public Member Functions

Matrix4x4 (float p00, float p01, float p02, float p03, float p10, float p11, float p12, float p13, float p20, float p21, float p22, float p23, float p30, float p31, float p32, float p33)
Matrix4x4 (Matrix4x4 matrix4x4)
Matrix4x4 (Matrix3x3 matrix3x3)
Matrix4x4 (Matrix3x4 matrix3x4)
override int GetHashCode ()
bool Equals (Matrix4x4 obj)
override bool Equals (object obj)
override string ToString ()
void SetZero ()
void SetIdentity ()
void Transpose ()
Matrix4x4 GetTransposed ()
void Invert ()
Matrix4x4 GetInverted ()
float Determinant ()
Vector3 TransformVector (Vector3 vector)
Vector3 TransformPoint (Vector3 point)
void SetColumn (int i, Vector3 vec)
void SetColumn (int i, Vector4 vec)
void GetColumn (int i, ref Vector4 vector)
Vector3 GetTranslation ()
void GetTranslation (ref Vector3 vec)
void SetTranslation (Vector3 vec)

Static Public Member Functions

static implicit operator Matrix44 (Matrix4x4 managedMatrix)
static implicit operator Matrix4x4 (Matrix44 nativeMatrix)
static bool IsEquivalent (Matrix4x4 m0, Matrix4x4 m1, float epsilon=0.05f)
static bool operator== (Matrix4x4 lhs, Matrix4x4 rhs)
static bool operator!= (Matrix4x4 lhs, Matrix4x4 rhs)
static Matrix4x4 operator* (Matrix4x4 matrix4x4, float multiplier)
static Matrix4x4 operator+ (Matrix4x4 lhs, Matrix4x4 rhs)
static Matrix4x4 operator* (Matrix4x4 l, Matrix4x4 r)
static Vector4 operator* (Matrix4x4 m, Vector4 v)
static Vector4 operator* (Vector4 v, Matrix4x4 m)
static Matrix4x4 operator* (Matrix4x4 l, Matrix3x3 r)

Public Attributes

float m00
float m01
float m02
float m03
float m10
float m11
float m12
float m13
float m20
float m21
float m22
float m23
float m30
float m31
float m32
float m33

Static Public Attributes

static readonly Matrix4x4 Identity

Properties

Vector4 this[int row] [get, set]
float this[int row, int column] [get, set]

Constructor & Destructor Documentation

◆ Matrix4x4() [1/4]

CryEngine.Matrix4x4.Matrix4x4 ( float p00,
float p01,
float p02,
float p03,
float p10,
float p11,
float p12,
float p13,
float p20,
float p21,
float p22,
float p23,
float p30,
float p31,
float p32,
float p33
)
inline

◆ Matrix4x4() [2/4]

CryEngine.Matrix4x4.Matrix4x4 ( Matrix4x4 matrix4x4)
inline

◆ Matrix4x4() [3/4]

CryEngine.Matrix4x4.Matrix4x4 ( Matrix3x3 matrix3x3)
inline

◆ Matrix4x4() [4/4]

CryEngine.Matrix4x4.Matrix4x4 ( Matrix3x4 matrix3x4)
inline

Member Function Documentation

◆ Determinant()

float CryEngine.Matrix4x4.Determinant ( )
inline

◆ Equals() [1/2]

bool CryEngine.Matrix4x4.Equals ( Matrix4x4 obj)
inline

◆ Equals() [2/2]

override bool CryEngine.Matrix4x4.Equals ( object obj)
inline

◆ GetColumn()

void CryEngine.Matrix4x4.GetColumn ( int i,
ref Vector4 vector
)
inline

◆ GetHashCode()

override int CryEngine.Matrix4x4.GetHashCode ( )
inline

◆ GetInverted()

Matrix4x4 CryEngine.Matrix4x4.GetInverted ( )
inline

◆ GetTranslation() [1/2]

Vector3 CryEngine.Matrix4x4.GetTranslation ( )
inline

◆ GetTranslation() [2/2]

void CryEngine.Matrix4x4.GetTranslation ( ref Vector3 vec)
inline

◆ GetTransposed()

Matrix4x4 CryEngine.Matrix4x4.GetTransposed ( )
inline

◆ Invert()

void CryEngine.Matrix4x4.Invert ( )
inline

◆ IsEquivalent()

static bool CryEngine.Matrix4x4.IsEquivalent ( Matrix4x4 m0,
Matrix4x4 m1,
float epsilon = 0.05f
)
inline
static

◆ operator Matrix44()

static implicit CryEngine.Matrix4x4.operator Matrix44 ( Matrix4x4 managedMatrix)
inline
static

◆ operator Matrix4x4()

static implicit CryEngine.Matrix4x4.operator Matrix4x4 ( Matrix44 nativeMatrix)
inline
static

◆ operator!=()

static bool CryEngine.Matrix4x4.operator!= ( Matrix4x4 lhs,
Matrix4x4 rhs
)
inline
static

◆ operator*() [1/5]

static Matrix4x4 CryEngine.Matrix4x4.operator* ( Matrix4x4 matrix4x4,
float multiplier
)
inline
static

◆ operator*() [2/5]

static Matrix4x4 CryEngine.Matrix4x4.operator* ( Matrix4x4 l,
Matrix4x4 r
)
inline
static

◆ operator*() [3/5]

static Vector4 CryEngine.Matrix4x4.operator* ( Matrix4x4 m,
Vector4 v
)
inline
static

◆ operator*() [4/5]

static Vector4 CryEngine.Matrix4x4.operator* ( Vector4 v,
Matrix4x4 m
)
inline
static

◆ operator*() [5/5]

static Matrix4x4 CryEngine.Matrix4x4.operator* ( Matrix4x4 l,
Matrix3x3 r
)
inline
static

◆ operator+()

static Matrix4x4 CryEngine.Matrix4x4.operator+ ( Matrix4x4 lhs,
Matrix4x4 rhs
)
inline
static

◆ operator==()

static bool CryEngine.Matrix4x4.operator== ( Matrix4x4 lhs,
Matrix4x4 rhs
)
inline
static

◆ SetColumn() [1/2]

void CryEngine.Matrix4x4.SetColumn ( int i,
Vector3 vec
)
inline

◆ SetColumn() [2/2]

void CryEngine.Matrix4x4.SetColumn ( int i,
Vector4 vec
)
inline

◆ SetIdentity()

void CryEngine.Matrix4x4.SetIdentity ( )
inline

◆ SetTranslation()

void CryEngine.Matrix4x4.SetTranslation ( Vector3 vec)
inline

◆ SetZero()

void CryEngine.Matrix4x4.SetZero ( )
inline

◆ ToString()

override string CryEngine.Matrix4x4.ToString ( )
inline

◆ TransformPoint()

Vector3 CryEngine.Matrix4x4.TransformPoint ( Vector3 point)
inline

◆ TransformVector()

Vector3 CryEngine.Matrix4x4.TransformVector ( Vector3 vector)
inline

◆ Transpose()

void CryEngine.Matrix4x4.Transpose ( )
inline

Member Data Documentation

◆ Identity

readonly Matrix4x4 CryEngine.Matrix4x4.Identity
static
Initial value:
=
new Matrix4x4(1f, 0f, 0f, 0f,
0f, 1f, 0f, 0f,
0f, 0f, 1f, 0f,
0f, 0f, 0f, 1f)

◆ m00

float CryEngine.Matrix4x4.m00

◆ m01

float CryEngine.Matrix4x4.m01

◆ m02

float CryEngine.Matrix4x4.m02

◆ m03

float CryEngine.Matrix4x4.m03

◆ m10

float CryEngine.Matrix4x4.m10

◆ m11

float CryEngine.Matrix4x4.m11

◆ m12

float CryEngine.Matrix4x4.m12

◆ m13

float CryEngine.Matrix4x4.m13

◆ m20

float CryEngine.Matrix4x4.m20

◆ m21

float CryEngine.Matrix4x4.m21

◆ m22

float CryEngine.Matrix4x4.m22

◆ m23

float CryEngine.Matrix4x4.m23

◆ m30

float CryEngine.Matrix4x4.m30

◆ m31

float CryEngine.Matrix4x4.m31

◆ m32

float CryEngine.Matrix4x4.m32

◆ m33

float CryEngine.Matrix4x4.m33

Property Documentation

◆ this[int row, int column]

float CryEngine.Matrix4x4.this[int row, int column]
get
set

◆ this[int row]

Vector4 CryEngine.Matrix4x4.this[int row]
get
set