OrthographicMode
Sets which screen axis OrthographicSize is applied to.
Items 4
| History | Name | Value | Description | |
|---|---|---|---|---|
| 742 | Vertical | 0 | The screen's vertical axis will span exactly OrthographicSize studs. The ViewStretch will apply to the horizontal axis. | |
| 742 | Horizontal | 1 | The screen's horizontal axis will span exactly OrthographicSize studs. The ViewStretch will apply to the vertical axis. | |
| 742 | Diagonal | 2 | The screen diagonal will span exactly OrthographicSize studs. The ViewStretch will apply to the horizontal axis. (In the initial beta, a bug makes it apply to both axes in a complex way.) | |
| 742 | MaxAxis | 3 | The screen's longer axis will span exactly OrthographicSize studs. The ViewStretch will apply to the shorter axis. If both dimensions are identical, it will apply to the horizontal axis. |
Description
Used by Camera to set which aspect of the ViewportSize is controlled by OrthographicSize.
For example, when this property is set to OrthographicMode.Vertical, the orthographic projection is scaled such that the vertical dimension spans exactly OrthographicSize studs, and the horizontal dimension spans however many studs are needed to match.
This also controls which axis ViewStretch will stretch for orthographic cameras.
History 5
- 742 Add Vertical
- 742 Add MaxAxis
- 742 Add Horizontal
- 742 Add Diagonal
- 742 Add OrthographicMode