computeModelMatrix

fun computeModelMatrix(time: JulianDate, result: Matrix4? = definedExternally): Matrix4(source)

Computes the model matrix for the entity's transform at specified time. Returns undefined if position is undefined

Return

The modified result parameter or a new Matrix4 instance if one was not provided. Result is undefined if position is undefined.

Parameters

time

The time to retrieve model matrix for.

result

The object onto which to store the result.

See also