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
const(float)[]
getMatrix
()

Return Value

Type: const(float)[]

A 4x4 matrix.

Meta