HomeButtonViewModel

HomeButtonViewModel

new

The ViewModel for HomeButton.

Parameters:
Name Type Argument Description
scene Scene The Scene instance to use.
transitioner SceneTransitioner <optional>
The SceneTransitioner instance to use.
ellipsoid Ellipsoid <optional>
The Scene's primary ellipsoid.
Throws:
Scene : scene is required.
Source:

Members

:Command

The command for switching to home view.

:Ellipsoid

The primary ellipsoid for the scene.

:Scene

The scene.

:Observable

The current button tooltip.

:SceneTransitioner

The scene transitioner being used by the host application. If a transitioner is assigned, any running morphs will be completed when the home button is pressed.