getViewMatrix

Get the camera's view matrix (inverse of the model matrix).

Transforms from world space to camera/view space.

Return

The view matrix (4×4)

Parameters

out

Optional FloatArray for result; created if null


Get the camera's view matrix (inverse of the model matrix).

Return

The view matrix (4×4)

Parameters

out

Optional DoubleArray for result; created if null

expect fun getViewMatrix(out: FloatArray? = null): FloatArray

Get the camera's view matrix (inverse of the model matrix).

Transforms from world space to camera/view space.

Return

The view matrix (4×4)

Parameters

out

Optional FloatArray for result; created if null


expect fun getViewMatrix(out: DoubleArray? = null): DoubleArray

Get the camera's view matrix (inverse of the model matrix).

Return

The view matrix (4×4)

Parameters

out

Optional DoubleArray for result; created if null

Get the camera's view matrix (inverse of the model matrix).

Transforms from world space to camera/view space.

Return

The view matrix (4×4)

Parameters

out

Optional FloatArray for result; created if null


Get the camera's view matrix (inverse of the model matrix).

Return

The view matrix (4×4)

Parameters

out

Optional DoubleArray for result; created if null

Get the camera's view matrix (inverse of the model matrix).

Transforms from world space to camera/view space.

Return

The view matrix (4×4)

Parameters

out

Optional FloatArray for result; created if null


Get the camera's view matrix (inverse of the model matrix).

Return

The view matrix (4×4)

Parameters

out

Optional DoubleArray for result; created if null

Get the camera's view matrix (inverse of the model matrix).

Transforms from world space to camera/view space.

Return

The view matrix (4×4)

Parameters

out

Optional FloatArray for result; created if null


Get the camera's view matrix (inverse of the model matrix).

Return

The view matrix (4×4)

Parameters

out

Optional DoubleArray for result; created if null