C# Класс IrrlichtNETCP.Matrix4

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
M float[]

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetMInsecure ( int col, int row ) : float
SetMInsecure ( int col, int row, float m ) : void

Описание методов

BuildCameraLookAtMatrixLH() публичный Метод

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
Результат void

BuildCameraLookAtMatrixRH() публичный Метод

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
Результат void

BuildProjectionMatrixOrthoLH() публичный Метод

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
Результат void

BuildProjectionMatrixOrthoRH() публичный Метод

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
Результат void

BuildProjectionMatrixPerspectiveFovLH() публичный Метод

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
Результат void

BuildProjectionMatrixPerspectiveFovRH() публичный Метод

public BuildProjectionMatrixPerspectiveFovRH ( float fieldOfViewRadians, float aspectRatio, float zNear, float zFar ) : void
fieldOfViewRadians float
aspectRatio float
zNear float
zFar float
Результат void

BuildProjectionMatrixPerspectiveLH() публичный Метод

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
Результат void

BuildProjectionMatrixPerspectiveRH() публичный Метод

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
Результат void

Equals() публичный Метод

public Equals ( object o ) : bool
o object
Результат bool

From() публичный статический Метод

public static From ( float m ) : Matrix4
m float
Результат Matrix4

FromUnmanaged() публичный статический Метод

public static FromUnmanaged ( float m ) : Matrix4
m float
Результат Matrix4

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

GetInverse() публичный Метод

public GetInverse ( Matrix4 &outM ) : bool
outM Matrix4
Результат bool

GetM() публичный Метод

Direct accessing every row and colum of the matrix values
public GetM ( int col, int row ) : float
col int
row int
Результат float

GetTransposed() публичный Метод

public GetTransposed ( ) : Matrix4
Результат Matrix4

IsIdentity() публичный Метод

Returns true if the matrix is the identity matrix.
public IsIdentity ( ) : bool
Результат bool

MakeIdentity() публичный Метод

Set matrix to identity.
public MakeIdentity ( ) : void
Результат void

MakeInverse() публичный Метод

public MakeInverse ( ) : void
Результат void

Matrix4() публичный Метод

public Matrix4 ( ) : System
Результат System

Matrix4() публичный Метод

public Matrix4 ( float m ) : System
m float
Результат System

RotateVect() публичный Метод

public RotateVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
vect IrrlichtNETCP.Vector3D
Результат IrrlichtNETCP.Vector3D

SetM() публичный Метод

public SetM ( int col, int row, float m ) : void
col int
row int
m float
Результат void

ToShader() публичный Метод

public ToShader ( ) : float[]
Результат float[]

ToString() публичный Метод

public ToString ( ) : string
Результат string

ToUnmanaged() публичный Метод

public ToUnmanaged ( ) : float[]
Результат float[]

TransformVect() публичный Метод

public TransformVect ( IrrlichtNETCP.Vector3D &vect ) : IrrlichtNETCP.Vector3D
vect IrrlichtNETCP.Vector3D
Результат IrrlichtNETCP.Vector3D

operator() публичный статический Метод

public static operator ( ) : Matrix4
Результат Matrix4

Описание свойств

M публичное свойство

public float[] M
Результат float[]