Lua
C++
Edit

Mat4

This class describes a 4x4 matrix used for 3D orientations in space.

Property Type Description
i Vec4 first matrix row
j Vec4 second matrix row
k Vec4 third matrix row
t Vec4 fourth matrix row
Mat4 Constructor Mat4()
Mat4 Constructor Mat4(number scale)
Mat4 Constructor Mat4(Vec4 i, Vec4 j, Vec4 k, Vec4 t)
Mat4 Constructor Mat4(Vec3 translation, Vec3 rotation, Vec3 scale)
Mat4 Constructor Mat4(Vec3 translation, Quat rotation, Vec3 scale)
Determinant Method gets the matrix determinant
GetQuaternion Method gets the matrix rotation
GetRotation Method gets the matrix Euler rotation
GetScale Method gets the matrix scale
GetTranslation Method gets the matrix translation
Inverse Method gets the inverse matrix
Normalize Method gets the normalized matrix
Transpose Method gets the transpose matrix
Copyright © 2024 Ultra Software.
All rights reserved.