Contents

projectionMatrix

A transformation matrix that determines the extent of a scene visible to the camera.

Declaration

var projectionMatrix: matrix_float4x4 { get }

Discussion

Model I/O automatically derives this property from the nearVisibilityDistance, farVisibilityDistance, and fieldOfView properties. A renderer uses this matrix, along with view and model matrices derived from the camera’s position and orientation (its inherited transform property) and the content to be rendered, to transform vertex data to the renderer’s 2D screen space at render time.

See Also

Managing Camera Perspective