Documentation

Create Perspective Off Center - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Matrix 4x 4 :: Create Perspective Off Center

Root.Matrix4x4.CreatePerspectiveOffCenter(
  Volume Box,
  Z Near Float,
  Z Far Float
) Matrix 4x 4
Creates a perspective projection matrix with off-center view volume

Parameters

Volume Box
Bounding box of the view volume
Z Near Float
Distance to the near clipping plane from the camera. Avoid setting too low (0) as that can cause glitches
Z Far Float
Distance to the far clipping plane from the camera. Avoid setting too high as objects may not render properly due to depth buffer limitations

Return Value

Matrix 4x 4

If you think anything is missing, please feel free to: submit documentation feedback on this page