viewMatrix

fun viewMatrix(): Matrix44(source)

Computes and returns the view matrix for the orbital camera. The view matrix is calculated using the current spherical coordinates, look-at position, and the up vector (Vector3.UNIT_Y).

Return

a 4x4 matrix representing the current view transformation of the camera