FieldOfViewMode
Determines which field-of-view angle a Camera holds constant when the viewport is resized.
Items 3
| History | Name | Value | Description | |
|---|---|---|---|---|
| 450 | Vertical | 0 | The camera holds its vertical field of view constant when the viewport is resized. | |
| 450 | Diagonal | 1 | The camera holds its diagonal field of view constant when the viewport is resized. | |
| 450 | MaxAxis | 2 | The camera holds the field of view along the longer viewport axis constant when the viewport is resized. |
Description
FieldOfViewMode controls which field-of-view (FOV) measurement the Camera treats as invariant when the viewport dimensions change. When the viewport is resized, the engine recalculates the other FOV values to keep the chosen axis constant. Used by FieldOfViewMode, which defaults to FieldOfViewMode.Vertical.