Transform.getMatrix

Return the transform as a 4x4 matrix.

This function returns a pointer to an array of 16 floats containing the transform elements as a 4x4 matrix, which is directly compatible with OpenGL functions.

struct Transform
const(float)[]
getMatrix
const
(
)

Return Value

Type: const(float)[]

A 4x4 matrix.

Meta