ZMatrix4
20 items
constructorZMatrix4
constructor()constructor(values: Array<Float>)constructor(values: FloatArray)
Initializes a ZMatrix4 object with the provided array of float values.Constructs a 4x4 matrix from a given array of float values.
valcount
Number of individual instances this object represents
valfloatArray
open override val floatArray: FloatArray
valsize
Number of elements contained within the values array with the specific type defined in dataType
funget
Retrieves the value at the specified index. 0-15 index element.Retrieves the value at the specified 2D matrix coordinates.
funinverted
Returns a new ZMatrix4 that is the inverse of the current matrix.
funminus
Performs the Matrix subtraction operation.
funplus
Performs the Matrix addition operation.
funset
Sets the value at the specified index. 0-15 index element.Sets the value at the specified 2D matrix coordinates.
funtimes
Performs the Matrix multiplication operation.
funtranslate
Translates the current matrix by the given vector.Translates the current matrix by the specified x, y, and z values.