Sets the camera's projection, either an orthographic camera or a perspective camera.
Declaration Syntax
Parameters
- mode (ProjectionMode)
- Projection mode, perspective or orthographic
- left (Single)
- Minimum x value of the view volume at the near view plane
- right (Single)
- Maximum x value of the view volume at the near view plane
- bottom (Single)
- Minimum y value of the view volume at the near view plane
- top (Single)
- Maximum y value of the view volume at the near view plane
- near (Single)
- Distance to the near view plane (or min-Z value if ortho)
- far (Single)
- Distance to the far view plane (or max-Z value if ortho)
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)