C# Class IrrlichtNETCP.Matrix4

Mostra file Open project: Paulus/irrlichtnetcp Class Usage Examples

Public Properties

Property Type Description
M float[]

Public Methods

Method Description
BuildCameraLookAtMatrixLH ( IrrlichtNETCP.Vector3D position, IrrlichtNETCP.Vector3D target, IrrlichtNETCP.Vector3D upVector ) : void

Builds a left-handed look-at matrix.

BuildCameraLookAtMatrixRH ( IrrlichtNETCP.Vector3D position, IrrlichtNETCP.Vector3D target, IrrlichtNETCP.Vector3D upVector ) : void

Builds a right-handed look-at matrix.

BuildProjectionMatrixOrthoLH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void

Builds a left-handed orthogonal projection matrix.

BuildProjectionMatrixOrthoRH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void

Builds a right-handed orthogonal projection matrix.

BuildProjectionMatrixPerspectiveFovLH ( float fieldOfViewRadians, float aspectRatio, float zNear, float zFar ) : void

Builds a left-handed perspective projection matrix based on a field of view

BuildProjectionMatrixPerspectiveFovRH ( float fieldOfViewRadians, float aspectRatio, float zNear, float zFar ) : void
BuildProjectionMatrixPerspectiveLH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void

Builds a left-handed perspective projection matrix.

BuildProjectionMatrixPerspectiveRH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void

Builds a right-handed perspective projection matrix.

Equals ( object o ) : bool
From ( float m ) : Matrix4
FromUnmanaged ( float m ) : Matrix4
GetHashCode ( ) : int
GetInverse ( Matrix4 &outM ) : bool
GetM ( int col, int row ) : float

Direct accessing every row and colum of the matrix values

GetTransposed ( ) : Matrix4
IsIdentity ( ) : bool

Returns true if the matrix is the identity matrix.

MakeIdentity ( ) : void

Set matrix to identity.

MakeInverse ( ) : void
Matrix4 ( ) : System
Matrix4 ( float m ) : System
RotateVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
SetM ( int col, int row, float m ) : void
ToShader ( ) : float[]
ToString ( ) : string
ToUnmanaged ( ) : float[]
TransformVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
operator ( ) : Matrix4

Private Methods

Method Description
GetMInsecure ( int col, int row ) : float
SetMInsecure ( int col, int row, float m ) : void

Method Details

BuildCameraLookAtMatrixLH() public method

Builds a left-handed look-at matrix.
public BuildCameraLookAtMatrixLH ( IrrlichtNETCP.Vector3D position, IrrlichtNETCP.Vector3D target, IrrlichtNETCP.Vector3D upVector ) : void
position IrrlichtNETCP.Vector3D
target IrrlichtNETCP.Vector3D
upVector IrrlichtNETCP.Vector3D
return void

BuildCameraLookAtMatrixRH() public method

Builds a right-handed look-at matrix.
public BuildCameraLookAtMatrixRH ( IrrlichtNETCP.Vector3D position, IrrlichtNETCP.Vector3D target, IrrlichtNETCP.Vector3D upVector ) : void
position IrrlichtNETCP.Vector3D
target IrrlichtNETCP.Vector3D
upVector IrrlichtNETCP.Vector3D
return void

BuildProjectionMatrixOrthoLH() public method

Builds a left-handed orthogonal projection matrix.
public BuildProjectionMatrixOrthoLH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void
widthOfViewVolume float
heightOfViewVolume float
zNear float
zFar float
return void

BuildProjectionMatrixOrthoRH() public method

Builds a right-handed orthogonal projection matrix.
public BuildProjectionMatrixOrthoRH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void
widthOfViewVolume float
heightOfViewVolume float
zNear float
zFar float
return void

BuildProjectionMatrixPerspectiveFovLH() public method

Builds a left-handed perspective projection matrix based on a field of view
public BuildProjectionMatrixPerspectiveFovLH ( float fieldOfViewRadians, float aspectRatio, float zNear, float zFar ) : void
fieldOfViewRadians float
aspectRatio float
zNear float
zFar float
return void

BuildProjectionMatrixPerspectiveFovRH() public method

public BuildProjectionMatrixPerspectiveFovRH ( float fieldOfViewRadians, float aspectRatio, float zNear, float zFar ) : void
fieldOfViewRadians float
aspectRatio float
zNear float
zFar float
return void

BuildProjectionMatrixPerspectiveLH() public method

Builds a left-handed perspective projection matrix.
public BuildProjectionMatrixPerspectiveLH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void
widthOfViewVolume float
heightOfViewVolume float
zNear float
zFar float
return void

BuildProjectionMatrixPerspectiveRH() public method

Builds a right-handed perspective projection matrix.
public BuildProjectionMatrixPerspectiveRH ( float widthOfViewVolume, float heightOfViewVolume, float zNear, float zFar ) : void
widthOfViewVolume float
heightOfViewVolume float
zNear float
zFar float
return void

Equals() public method

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

From() public static method

public static From ( float m ) : Matrix4
m float
return Matrix4

FromUnmanaged() public static method

public static FromUnmanaged ( float m ) : Matrix4
m float
return Matrix4

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInverse() public method

public GetInverse ( Matrix4 &outM ) : bool
outM Matrix4
return bool

GetM() public method

Direct accessing every row and colum of the matrix values
public GetM ( int col, int row ) : float
col int
row int
return float

GetTransposed() public method

public GetTransposed ( ) : Matrix4
return Matrix4

IsIdentity() public method

Returns true if the matrix is the identity matrix.
public IsIdentity ( ) : bool
return bool

MakeIdentity() public method

Set matrix to identity.
public MakeIdentity ( ) : void
return void

MakeInverse() public method

public MakeInverse ( ) : void
return void

Matrix4() public method

public Matrix4 ( ) : System
return System

Matrix4() public method

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

RotateVect() public method

public RotateVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
vect IrrlichtNETCP.Vector3D
return IrrlichtNETCP.Vector3D

SetM() public method

public SetM ( int col, int row, float m ) : void
col int
row int
m float
return void

ToShader() public method

public ToShader ( ) : float[]
return float[]

ToString() public method

public ToString ( ) : string
return string

ToUnmanaged() public method

public ToUnmanaged ( ) : float[]
return float[]

TransformVect() public method

public TransformVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
vect IrrlichtNETCP.Vector3D
return IrrlichtNETCP.Vector3D

operator() public static method

public static operator ( ) : Matrix4
return Matrix4

Property Details

M public_oe property

public float[] M
return float[]