computeView
fun computeView(position: Cartesian3, direction: Cartesian3, up: Cartesian3, right: Cartesian3, result: Matrix4): Matrix4(source)
Computes a Matrix4 instance that transforms from world space to view space.
Return
The modified result parameter.
Parameters
position
The position of the camera.
direction
The forward direction.
up
The up direction.
right
The right direction.
result
The object in which the result will be stored.