fromFloatArray

@JvmStatic
fun fromFloatArray(array: FloatArray): Matrix4

Creates a new Matrix4 instance from a float array.

Return

The new Matrix4 instance.

Parameters

array

The float array that contains 16 float numbers.

Throws

IllegalArgumentException

If the input array size is not 16.