C# Class Reign.Core.Matrix4

ファイルを表示 Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Identity Matrix4
X Vector4

Public Methods

Method Description
Abs ( ) : Matrix4
Abs ( Matrix4 &matrix, Matrix4 &result ) : void
Determinant ( ) : float
Determinant ( Matrix4 &matrix, float &result ) : void
Div ( Matrix4 &value1, Matrix4 &value2, Matrix4 &result ) : void
Div ( Matrix4 &value1, float value2, Matrix4 &result ) : void
Div ( float value1, Matrix4 &value2, Matrix4 &result ) : void
Equals ( object obj ) : bool
FromAffineTransform ( AffineTransform3 transform ) : Matrix4
FromAffineTransform ( Matrix3 transform, Vector3 position ) : Matrix4
FromAffineTransform ( Matrix3 transform, Vector3 scale, Vector3 position ) : Matrix4
FromAffineTransform ( AffineTransform3 &transform, Matrix4 &result ) : void
FromAffineTransform ( Matrix3 &transform, Vector3 &position, Matrix4 &result ) : void
FromAffineTransform ( Matrix3 &transform, Vector3 &scale, Vector3 &position, Matrix4 &result ) : void
FromMatrix3 ( Matrix3 matrix ) : Matrix4
FromMatrix3 ( Matrix3 &matrix, Matrix4 &result ) : void
FromQuaternion ( Quaternion quaternion ) : Matrix4
FromQuaternion ( Quaternion &quaternion, Matrix4 &result ) : void
FromRigidTransform ( RigidTransform3 transform ) : Matrix4
FromRigidTransform ( RigidTransform3 &transform, Matrix4 &result ) : void
FromRotationAxis ( Vector3 axis, float angle ) : Matrix4
FromRotationAxis ( Vector3 &axis, float angle, Matrix4 &result ) : void
Frustum ( float left, float right, float bottom, float top, float near, float far ) : Matrix4
Frustum ( float left, float right, float bottom, float top, float near, float far, Matrix4 &result ) : void
GetHashCode ( ) : int
GetTranslation ( Matrix4 &matrix, Vector3 &result ) : void
Invert ( ) : Matrix4
Invert ( Matrix4 &matrix, Matrix4 &result ) : void
Matrix4 ( Vector4 x, Vector4 y, Vector4 z, Vector4 w ) : System
Matrix4 ( float value ) : System
Multiply ( Matrix2 matrix ) : Matrix4
Multiply ( Matrix3 matrix ) : Matrix4
Multiply ( Matrix4 matrix ) : Matrix4
Multiply ( Matrix4 &matrix1, Matrix2 &matrix2, Matrix4 &result ) : void
Multiply ( Matrix4 &matrix1, Matrix3 &matrix2, Matrix4 &result ) : void
Multiply ( Matrix4 &matrix1, Matrix4 &matrix2, Matrix4 &result ) : void
Orthographic ( float width, float height, float near, float far ) : Matrix4
Orthographic ( float left, float right, float bottom, float top, float near, float far ) : Matrix4
Orthographic ( float width, float height, float near, float far, Matrix4 &result ) : void
Orthographic ( float left, float right, float bottom, float top, float near, float far, Matrix4 &result ) : void
OrthographicCentered ( float width, float height, float near, float far ) : Matrix4
OrthographicCentered ( float left, float right, float bottom, float top, float near, float far ) : Matrix4
OrthographicCentered ( float width, float height, float near, float far, Matrix4 &result ) : void
OrthographicCentered ( float left, float right, float bottom, float top, float near, float far, Matrix4 &result ) : void
Perspective ( float fov, float aspect, float near, float far ) : Matrix4
Perspective ( float fov, float aspect, float near, float far, Matrix4 &result ) : void
ToMatrix3 ( ) : Matrix3
ToString ( ) : string
Transpose ( ) : Matrix4
Transpose ( Matrix4 matrix, Matrix4 &result ) : void
View ( Vector3 position, Vector3 lookAt, Vector3 upVector ) : Matrix4
View ( Vector3 &position, Vector3 &lookAt, Vector3 &upVector, Matrix4 &result ) : void
operator ( ) : Matrix4
operator ( ) : bool

Method Details

Abs() public method

public Abs ( ) : Matrix4
return Matrix4

Abs() public static method

public static Abs ( Matrix4 &matrix, Matrix4 &result ) : void
matrix Matrix4
result Matrix4
return void

Determinant() public method

public Determinant ( ) : float
return float

Determinant() public static method

public static Determinant ( Matrix4 &matrix, float &result ) : void
matrix Matrix4
result float
return void

Div() public static method

public static Div ( Matrix4 &value1, Matrix4 &value2, Matrix4 &result ) : void
value1 Matrix4
value2 Matrix4
result Matrix4
return void

Div() public static method

public static Div ( Matrix4 &value1, float value2, Matrix4 &result ) : void
value1 Matrix4
value2 float
result Matrix4
return void

Div() public static method

public static Div ( float value1, Matrix4 &value2, Matrix4 &result ) : void
value1 float
value2 Matrix4
result Matrix4
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromAffineTransform() public static method

public static FromAffineTransform ( AffineTransform3 transform ) : Matrix4
transform AffineTransform3
return Matrix4

FromAffineTransform() public static method

public static FromAffineTransform ( Matrix3 transform, Vector3 position ) : Matrix4
transform Matrix3
position Vector3
return Matrix4

FromAffineTransform() public static method

public static FromAffineTransform ( Matrix3 transform, Vector3 scale, Vector3 position ) : Matrix4
transform Matrix3
scale Vector3
position Vector3
return Matrix4

FromAffineTransform() public static method

public static FromAffineTransform ( AffineTransform3 &transform, Matrix4 &result ) : void
transform AffineTransform3
result Matrix4
return void

FromAffineTransform() public static method

public static FromAffineTransform ( Matrix3 &transform, Vector3 &position, Matrix4 &result ) : void
transform Matrix3
position Vector3
result Matrix4
return void

FromAffineTransform() public static method

public static FromAffineTransform ( Matrix3 &transform, Vector3 &scale, Vector3 &position, Matrix4 &result ) : void
transform Matrix3
scale Vector3
position Vector3
result Matrix4
return void

FromMatrix3() public static method

public static FromMatrix3 ( Matrix3 matrix ) : Matrix4
matrix Matrix3
return Matrix4

FromMatrix3() public static method

public static FromMatrix3 ( Matrix3 &matrix, Matrix4 &result ) : void
matrix Matrix3
result Matrix4
return void

FromQuaternion() public static method

public static FromQuaternion ( Quaternion quaternion ) : Matrix4
quaternion Quaternion
return Matrix4

FromQuaternion() public static method

public static FromQuaternion ( Quaternion &quaternion, Matrix4 &result ) : void
quaternion Quaternion
result Matrix4
return void

FromRigidTransform() public static method

public static FromRigidTransform ( RigidTransform3 transform ) : Matrix4
transform RigidTransform3
return Matrix4

FromRigidTransform() public static method

public static FromRigidTransform ( RigidTransform3 &transform, Matrix4 &result ) : void
transform RigidTransform3
result Matrix4
return void

FromRotationAxis() public method

public FromRotationAxis ( Vector3 axis, float angle ) : Matrix4
axis Vector3
angle float
return Matrix4

FromRotationAxis() public static method

public static FromRotationAxis ( Vector3 &axis, float angle, Matrix4 &result ) : void
axis Vector3
angle float
result Matrix4
return void

Frustum() public static method

public static Frustum ( float left, float right, float bottom, float top, float near, float far ) : Matrix4
left float
right float
bottom float
top float
near float
far float
return Matrix4

Frustum() public static method

public static Frustum ( float left, float right, float bottom, float top, float near, float far, Matrix4 &result ) : void
left float
right float
bottom float
top float
near float
far float
result Matrix4
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetTranslation() public static method

public static GetTranslation ( Matrix4 &matrix, Vector3 &result ) : void
matrix Matrix4
result Vector3
return void

Invert() public method

public Invert ( ) : Matrix4
return Matrix4

Invert() public static method

public static Invert ( Matrix4 &matrix, Matrix4 &result ) : void
matrix Matrix4
result Matrix4
return void

Matrix4() public method

public Matrix4 ( Vector4 x, Vector4 y, Vector4 z, Vector4 w ) : System
x Vector4
y Vector4
z Vector4
w Vector4
return System

Matrix4() public method

public Matrix4 ( float value ) : System
value float
return System

Multiply() public method

public Multiply ( Matrix2 matrix ) : Matrix4
matrix Matrix2
return Matrix4

Multiply() public method

public Multiply ( Matrix3 matrix ) : Matrix4
matrix Matrix3
return Matrix4

Multiply() public method

public Multiply ( Matrix4 matrix ) : Matrix4
matrix Matrix4
return Matrix4

Multiply() public static method

public static Multiply ( Matrix4 &matrix1, Matrix2 &matrix2, Matrix4 &result ) : void
matrix1 Matrix4
matrix2 Matrix2
result Matrix4
return void

Multiply() public static method

public static Multiply ( Matrix4 &matrix1, Matrix3 &matrix2, Matrix4 &result ) : void
matrix1 Matrix4
matrix2 Matrix3
result Matrix4
return void

Multiply() public static method

public static Multiply ( Matrix4 &matrix1, Matrix4 &matrix2, Matrix4 &result ) : void
matrix1 Matrix4
matrix2 Matrix4
result Matrix4
return void

Orthographic() public static method

public static Orthographic ( float width, float height, float near, float far ) : Matrix4
width float
height float
near float
far float
return Matrix4

Orthographic() public static method

public static Orthographic ( float left, float right, float bottom, float top, float near, float far ) : Matrix4
left float
right float
bottom float
top float
near float
far float
return Matrix4

Orthographic() public static method

public static Orthographic ( float width, float height, float near, float far, Matrix4 &result ) : void
width float
height float
near float
far float
result Matrix4
return void

Orthographic() public static method

public static Orthographic ( float left, float right, float bottom, float top, float near, float far, Matrix4 &result ) : void
left float
right float
bottom float
top float
near float
far float
result Matrix4
return void

OrthographicCentered() public static method

public static OrthographicCentered ( float width, float height, float near, float far ) : Matrix4
width float
height float
near float
far float
return Matrix4

OrthographicCentered() public static method

public static OrthographicCentered ( float left, float right, float bottom, float top, float near, float far ) : Matrix4
left float
right float
bottom float
top float
near float
far float
return Matrix4

OrthographicCentered() public static method

public static OrthographicCentered ( float width, float height, float near, float far, Matrix4 &result ) : void
width float
height float
near float
far float
result Matrix4
return void

OrthographicCentered() public static method

public static OrthographicCentered ( float left, float right, float bottom, float top, float near, float far, Matrix4 &result ) : void
left float
right float
bottom float
top float
near float
far float
result Matrix4
return void

Perspective() public static method

public static Perspective ( float fov, float aspect, float near, float far ) : Matrix4
fov float
aspect float
near float
far float
return Matrix4

Perspective() public static method

public static Perspective ( float fov, float aspect, float near, float far, Matrix4 &result ) : void
fov float
aspect float
near float
far float
result Matrix4
return void

ToMatrix3() public method

public ToMatrix3 ( ) : Matrix3
return Matrix3

ToString() public method

public ToString ( ) : string
return string

Transpose() public method

public Transpose ( ) : Matrix4
return Matrix4

Transpose() public static method

public static Transpose ( Matrix4 matrix, Matrix4 &result ) : void
matrix Matrix4
result Matrix4
return void

View() public static method

public static View ( Vector3 position, Vector3 lookAt, Vector3 upVector ) : Matrix4
position Vector3
lookAt Vector3
upVector Vector3
return Matrix4

View() public static method

public static View ( Vector3 &position, Vector3 &lookAt, Vector3 &upVector, Matrix4 &result ) : void
position Vector3
lookAt Vector3
upVector Vector3
result Matrix4
return void

operator() public static method

public static operator ( ) : Matrix4
return Matrix4

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Identity public_oe static_oe property

public static Matrix4,Reign.Core Identity
return Matrix4

X public_oe property

public Vector4 X
return Vector4