Camera.KeepAspect/keepAspect - multiple declarations

Function Camera.keepAspect

The axis to lock during fov/size adjustments. Can be either constant KEEP_WIDTH or constant KEEP_HEIGHT.

Camera.KeepAspect keepAspect() nothrow @property @nogc;

void keepAspect (
  long v
) nothrow @property @nogc;

Enum Camera.KeepAspect

enum KeepAspect : int { ... }

Enum members

NameDescription
keepHeight 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.
keepWidth 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.