C# Class IrrlichtNETCP.Matrix4

Afficher le fichier Open project: Paulus/irrlichtnetcp Class Usage Examples

Méthodes publiques

Свойство Type Description
M float[]

Méthodes publiques

Méthode 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

Méthode Description
GetMInsecure ( int col, int row ) : float
SetMInsecure ( int col, int row, float m ) : void

Method Details

BuildCameraLookAtMatrixLH() public méthode

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
Résultat void

BuildCameraLookAtMatrixRH() public méthode

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
Résultat void

BuildProjectionMatrixOrthoLH() public méthode

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
Résultat void

BuildProjectionMatrixOrthoRH() public méthode

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
Résultat void

BuildProjectionMatrixPerspectiveFovLH() public méthode

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
Résultat void

BuildProjectionMatrixPerspectiveFovRH() public méthode

public BuildProjectionMatrixPerspectiveFovRH ( float fieldOfViewRadians, float aspectRatio, float zNear, float zFar ) : void
fieldOfViewRadians float
aspectRatio float
zNear float
zFar float
Résultat void

BuildProjectionMatrixPerspectiveLH() public méthode

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
Résultat void

BuildProjectionMatrixPerspectiveRH() public méthode

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
Résultat void

Equals() public méthode

public Equals ( object o ) : bool
o object
Résultat bool

From() public static méthode

public static From ( float m ) : Matrix4
m float
Résultat Matrix4

FromUnmanaged() public static méthode

public static FromUnmanaged ( float m ) : Matrix4
m float
Résultat Matrix4

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetInverse() public méthode

public GetInverse ( Matrix4 &outM ) : bool
outM Matrix4
Résultat bool

GetM() public méthode

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

GetTransposed() public méthode

public GetTransposed ( ) : Matrix4
Résultat Matrix4

IsIdentity() public méthode

Returns true if the matrix is the identity matrix.
public IsIdentity ( ) : bool
Résultat bool

MakeIdentity() public méthode

Set matrix to identity.
public MakeIdentity ( ) : void
Résultat void

MakeInverse() public méthode

public MakeInverse ( ) : void
Résultat void

Matrix4() public méthode

public Matrix4 ( ) : System
Résultat System

Matrix4() public méthode

public Matrix4 ( float m ) : System
m float
Résultat System

RotateVect() public méthode

public RotateVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
vect IrrlichtNETCP.Vector3D
Résultat IrrlichtNETCP.Vector3D

SetM() public méthode

public SetM ( int col, int row, float m ) : void
col int
row int
m float
Résultat void

ToShader() public méthode

public ToShader ( ) : float[]
Résultat float[]

ToString() public méthode

public ToString ( ) : string
Résultat string

ToUnmanaged() public méthode

public ToUnmanaged ( ) : float[]
Résultat float[]

TransformVect() public méthode

public TransformVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
vect IrrlichtNETCP.Vector3D
Résultat IrrlichtNETCP.Vector3D

operator() public static méthode

public static operator ( ) : Matrix4
Résultat Matrix4

Property Details

M public_oe property

public float[] M
Résultat float[]