Open Dev Kit Documentation :: General :: Matrix 4x 4 :: Create Ortho
Root.Matrix4x4.CreateOrtho( Width Float, Height Float, Z Near Float, Z Far Float ) Matrix 4x 4Creates an orthogonal matrix with the specified dimensions
Parameters
- Width Float
- Widht of the matrix
- Height Float
- Height of the matrix
- 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
If you think anything is missing, please feel free to: submit documentation feedback on this page
