ProjectionType
Chooses between perspective and orthographic cameras.
Items 2
| History | Name | Value | Description | |
|---|---|---|---|---|
| 742 | Perspective | 0 | The camera is perspective, and uses the field of view settings. | |
| 742 | Orthographic | 1 | The camera is orthographic, and uses the orthographic settings. |
Description
Set to ProjectionType.Perspective (default) to use a perspective camera, where parallel lines in 3D converge on the screen and objects get smaller in the distance. Set to ProjectionType.Orthographic to use an orthographic camera, where parallel lines stay parallel and objects are the same size at any distance. This is useful for things like 2D games, isometric games, and minimaps.
History 3
- 742 Add Perspective
- 742 Add Orthographic
- 742 Add ProjectionType