CameraKeepAspectEnum Enumeration |
[Missing <summary> documentation for "T:Godot.Camera.KeepAspectEnum"]
Namespace: Godot
public enum KeepAspectEnum
Member name | Value | Description | |
---|---|---|---|
Width | 0 | Preserves the horizontal aspect ratio; also known as Vert- scaling. This is usually the best option for projects running in portrait mode, as taller aspect ratios will benefit from a wider vertical FOV. | |
Height | 1 | Preserves the vertical aspect ratio; also known as Hor+ scaling. This is usually the best option for projects running in landscape mode, as wider aspect ratios will automatically benefit from a wider horizontal FOV. |