Programming API Reference: EduGraf.Tensors
Class public Matrix4
This represents a matrix in 4d homogeneous space.Constructor()
public static readonly Matrix4
IdentityProperty public Matrix3
XYH { get }: TODOMethod public static Matrix4
Scale()
Create a new transformation matrix scaling in all axis directions by the same factor.Method public static Matrix4
Scale()
Create a new transformation matrix scaling by varying factors in the different axis directions.Method public static Matrix4
Scale()
Create a new scaling matrix from a vector.Method public static Matrix4
Translation()
Create a new transformation matrix representing translation by a vector.Method public static Matrix4
RotationX()
Create a new transformation matrix representing rotation around the x axis.Method public static Matrix4
RotationY()
Create a new transformation matrix representing rotation around the y axis.Method public static Matrix4
RotationZ()
Create a new transformation matrix representing rotation around the z axis.Operator public static Matrix4
*()
Operator public static Vector4
*()
Indexer public float
this[] { get; set; }Method public Matrix4
Transposed()
Method public Vector3
GetRow3()
Method public static Matrix4
GetView()
Method public static Matrix4
GetOrthographicProjection()
float
widthfloat
heightfloat
nearfloat
far
Method public static Matrix4
GetPerspectiveProjection()
float
fovYfloat
aspectfloat
nearfloat
far
Method public static Point3
GetProjectionCenter()
Method public static Matrix4
GetOffCenterProjection()
Method public static Matrix4
GetOffCenterPerspectiveProjection()
float
leftfloat
rightfloat
bottomfloat
topfloat
nearfloat
farbool
toNear