Click or drag to resize

CameraKeepAspectEnum Enumeration

[Missing <summary> documentation for "T:Godot.Camera.KeepAspectEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum KeepAspectEnum
Members
  Member nameValueDescription
Width0

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.

Height1

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.

See Also