Returns true
if this Scene
is run on a mobile device (including tablet.)
Returns true
if this Scene
is run on a tablet.
Defines the onExit
handler which triggers before this Scene
is ended.
Note: Unlike other event-handlers, this method can be called multiple times to add additional functions to be called on scene exit.
function to call when Scene
ends.
Defines the onSceneSwitch
handler which triggers before this Scene
changes to another.
Note: Unlike other event-handlers, this method can be called multiple times to add additional functions to be called on scene switch.
function to call when Scene
switches. Provides an index
parameter for the target Scene
.
Quits this Space
and returns the user to the previous screen.
Quits this Space
and returns the user to the previous screen.
image shown on play screen.
Generated using TypeDoc
Namespace for managing view modes (e.g. 3D, VR, AR) and
Scene
states.