C# Класс Ijw.Math.Matrix

Показать файл Открыть проект

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

Свойство Тип Описание
Identity Matrix
M11 float
M21 float
M31 float
M41 float

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

Метод Описание
Equals ( object obj ) : bool
FromBasisVectors ( Vector3 rightVector, Vector3 upVector, Vector3 forwardVector, Vector3 translationVector ) : Matrix
GetHashCode ( ) : int
InversePerspective ( float fov, float aspect, float nearClip, float farClip ) : Matrix
LookAt ( Vector3 eye, Vector3 target, Vector3 up ) : Matrix
Matrix ( Vector4 a, Vector4 b, Vector4 c, Vector4 d ) : System
Matrix ( float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44 ) : System
Perspective ( float fov, float aspect, float nearClip, float farClip ) : Matrix
Read ( BinaryReader reader ) : Matrix
RotationX ( float angle ) : Matrix
RotationY ( float angle ) : Matrix
RotationZ ( float angle ) : Matrix
Scale ( float scale ) : Matrix
Scale ( float x, float y, float z ) : Matrix
Scaling ( float scaleFactor ) : Matrix
Translate ( Vector3 translate ) : Matrix
Transpose ( ) : Matrix
Write ( BinaryWriter writer ) : void
operator ( ) : Matrix
operator ( ) : bool

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

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

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

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

public static FromBasisVectors ( Vector3 rightVector, Vector3 upVector, Vector3 forwardVector, Vector3 translationVector ) : Matrix
rightVector Vector3
upVector Vector3
forwardVector Vector3
translationVector Vector3
Результат Matrix

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

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

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

public static InversePerspective ( float fov, float aspect, float nearClip, float farClip ) : Matrix
fov float
aspect float
nearClip float
farClip float
Результат Matrix

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

public static LookAt ( Vector3 eye, Vector3 target, Vector3 up ) : Matrix
eye Vector3
target Vector3
up Vector3
Результат Matrix

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

public Matrix ( Vector4 a, Vector4 b, Vector4 c, Vector4 d ) : System
a Vector4
b Vector4
c Vector4
d Vector4
Результат System

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

public Matrix ( float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44 ) : System
m11 float
m12 float
m13 float
m14 float
m21 float
m22 float
m23 float
m24 float
m31 float
m32 float
m33 float
m34 float
m41 float
m42 float
m43 float
m44 float
Результат System

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

public static Perspective ( float fov, float aspect, float nearClip, float farClip ) : Matrix
fov float
aspect float
nearClip float
farClip float
Результат Matrix

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

public static Read ( BinaryReader reader ) : Matrix
reader System.IO.BinaryReader
Результат Matrix

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

public static RotationX ( float angle ) : Matrix
angle float
Результат Matrix

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

public static RotationY ( float angle ) : Matrix
angle float
Результат Matrix

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

public static RotationZ ( float angle ) : Matrix
angle float
Результат Matrix

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

public static Scale ( float scale ) : Matrix
scale float
Результат Matrix

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

public static Scale ( float x, float y, float z ) : Matrix
x float
y float
z float
Результат Matrix

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

public static Scaling ( float scaleFactor ) : Matrix
scaleFactor float
Результат Matrix

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

public static Translate ( Vector3 translate ) : Matrix
translate Vector3
Результат Matrix

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

public Transpose ( ) : Matrix
Результат Matrix

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

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Результат void

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

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

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

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

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

Identity публичное статическое свойство

public static Matrix Identity
Результат Matrix

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

public float M11
Результат float

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

public float M21
Результат float

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

public float M31
Результат float

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

public float M41
Результат float