Skip to main content
Version: Phaser v3.88.2

Phaser.Scale.Orientation

Scope: static

Source: src/scale/const/ORIENTATION_CONST.js#L7
Since: 3.16.0

Static functions​

LANDSCAPE​

LANDSCAPE: string​

Description:

The primary landscape orientation.

Source: src/scale/const/ORIENTATION_CONST.js#L27
Since: 3.16.0


LANDSCAPE_SECONDARY​

LANDSCAPE_SECONDARY: string​

Description:

The secondary landscape orientation.

Source: src/scale/const/ORIENTATION_CONST.js#L37
Since: 3.85.0


PORTRAIT​

PORTRAIT: string​

Description:

The primary portrait orientation.

Source: src/scale/const/ORIENTATION_CONST.js#L47
Since: 3.16.0


PORTRAIT_SECONDARY​

PORTRAIT_SECONDARY: string​

Description:

The secondary portrait orientation.

Source: src/scale/const/ORIENTATION_CONST.js#L57
Since: 3.16.0