Documentation

Matrix 4x 4 - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Matrix 4x 4

Root.Matrix4x4
Four-by-four matrix. Used for transformations in 3D space

Functions

Create Identity ( ) Matrix 4x 4
Creates an identity matrix
Create Ortho ( Width Float, Height Float, Z Near Float, Z Far Float ) Matrix 4x 4
Creates an orthogonal matrix with the specified dimensions
Create Ortho Rect ( Area Rectangle, Z Near Float, Z Far Float ) Matrix 4x 4
Creates an orthogonal projection matrix from a rectangle
Create Perspective Fov ( FOV Float, Aspect Float, Z Near Float, Z Far Float ) Matrix 4x 4
Creates a perspective projection matrix based on field of view
Create Perspective Off Center ( Volume Box, Z Near Float, Z Far Float ) Matrix 4x 4
Creates a perspective projection matrix with off-center view volume
Create Translation ( Translation 3D Vector ) Matrix 4x 4
Creates a translation matrix
Create Scaling ( Scaling 3D Vector ) Matrix 4x 4
Creates a scaling matrix
Create Rotation Quaternion ( Quaternion 4D Vector (Quaternion) ) Matrix 4x 4
Creates a rotation matrix from a quaternion
Create Rotation XYZ ( Angles 3D Vector ) Matrix 4x 4
Creates a rotation matrix from angles in XYZ order (in radians)
Create Rotation XYZ Deg ( Angles 3D Vector ) Matrix 4x 4
Creates a rotation matrix from angles in XYZ order (in degrees)
Create Transformation ( Translation 3D Vector, Scaling 3D Vector, Orientation 4D Vector (Quaternion), World Matrix 4x 4 ) Matrix 4x 4
Creates a transformation matrix
Create Look At ( Position 3D Vector, Target 3D Vector, Up Vector 3D Vector ) Matrix 4x 4
Creates a view matrix for a camera looking at a target
Multiply ( Matrix Local Matrix 4x 4, Matrix World Matrix 4x 4 ) Matrix 4x 4
multiplies two matrices such that local matrix is applied after world matrix
Transform Position ( Position 3D Vector ) 3D Vector
transform a 3D position vector
Transform Direction ( Direction 3D Vector ) 3D Vector
transform a 3D normalized directional vector
Transform Vector ( Vector 4D Vector (Quaternion) ) 4D Vector (Quaternion)
transform a 4D vector
Transform Quaternion ( Quaternion 4D Vector (Quaternion) ) 4D Vector (Quaternion)
transform an orientation quaternion
Vector Project ( Projection Info Matrix Projection Info, Position 3D Vector ) 3D Vector
Projects a vector from 3D world space into 2D screen space
Vector Unproject ( Projection Info Matrix Projection Info, Position 3D Vector ) 3D Vector
Projects a vector from 2D screen space into 3D world space
Vector Unproject Plane ( Projection Info Matrix Projection Info, Position 2D Vector, Plane 4D Vector (Quaternion), Maximum Distance Float ) 3D Vector
Projects a vector from 2D screen space into 3D world space within a plane

Properties

M11 Float
value at row 1 column 1
M12 Float
value at row 1 column 2
M13 Float
value at row 1 column 3
M14 Float
value at row 1 column 4
M21 Float
value at row 2 column 1
M22 Float
value at row 2 column 2
M23 Float
value at row 2 column 3
M24 Float
value at row 2 column 4
M31 Float
value at row 3 column 1
M32 Float
value at row 3 column 2
M33 Float
value at row 3 column 3
M34 Float
value at row 3 column 4
M41 Float
value at row 4 column 1
M42 Float
value at row 4 column 2
M43 Float
value at row 4 column 3
M44 Float
value at row 4 column 4
Transposed Matrix 4x 4
transpose of the matrix
Inverted Matrix 4x 4
inverse of the matrix
Is Identity Boolean

If you think anything is missing, please feel free to: submit documentation feedback on this page