Skip to main content

Class: Matrix4

This page documents the methods and fields available in the Matrix4 class.

Members

SignatureDescription
Matrix4(float[])Creates a new instance of Matrix4.
fillFloatArray(float[])Performs the fillFloatArray operation using the provided parameters (floatArray).
fillFloatArray(float[], boolean)Performs the fillFloatArray operation using the provided parameters (floatArray, columnMajor).
getRotation()Returns the current rotation.
getRotation(Quaternion)Returns the current rotation.
getScale()Returns the current scale.
getScale(JAVARuntime.Vector3)Returns the current scale.
getTranslation()Returns the current translation.
getTranslation(JAVARuntime.Vector3)Returns the current translation.
inverse()Performs the inverse operation.
inverse(Matrix4)Performs the inverse operation using the provided parameters (out).
mul(JAVARuntime.Vector3)Performs the mul operation using the provided parameters (vector3).
mul(JAVARuntime.Vector3, JAVARuntime.Vector3)Performs the mul operation using the provided parameters (vector3, out).
mul(Matrix4)Performs the mul operation using the provided parameters (value).
mul(Matrix4, Matrix4)Performs the mul operation using the provided parameters (value, out).
mul(float, float, float)Performs the mul operation using the provided parameters (x, y, z).
mul(float, float, float, JAVARuntime.Vector3)Performs the mul operation using the provided parameters (x, y, z, out).
mulAcross(JAVARuntime.Vector3)Performs the mulAcross operation using the provided parameters (vector3).
mulAcross(JAVARuntime.Vector3, JAVARuntime.Vector3)Performs the mulAcross operation using the provided parameters (vector3, out).
mulNormal(JAVARuntime.Vector3)Performs the mulNormal operation using the provided parameters (vector3).
mulNormal(JAVARuntime.Vector3, JAVARuntime.Vector3)Performs the mulNormal operation using the provided parameters (vector3, out).
set(float[])Sets or updates the the value.
setRotation(JAVARuntime.Quaternion)Sets or updates the rotation.
setRotation(float, float, float, float)Sets or updates the rotation.
setScale(JAVARuntime.Vector3)Sets or updates the scale.
setScale(float, float, float)Sets or updates the scale.
setTransform(JAVARuntime.Vector3, Quaternion, JAVARuntime.Vector3)Sets or updates the transform.
setTranslation(JAVARuntime.Vector3)Sets or updates the translation.
setTranslation(float, float, float)Sets or updates the translation.
toRotationQuat()Performs the toRotationQuat operation.
toRotationQuat(Quaternion)Performs the toRotationQuat operation using the provided parameters (out).
toScaleVector()Performs the toScaleVector operation.
toScaleVector(JAVARuntime.Vector3)Performs the toScaleVector operation using the provided parameters (out).
toTranslationVector()Performs the toTranslationVector operation.
toTranslationVector(JAVARuntime.Vector3)Performs the toTranslationVector operation using the provided parameters (out).