HomeButtonViewModel

external class HomeButtonViewModel(var scene: ERROR CLASS: Symbol not found for Scene, duration: Double? = definedExternally)(source)

The view model for HomeButton.

Parameters

duration

The duration of the camera flight in seconds.

See also

Constructors

Link copied to clipboard
constructor(scene: ERROR CLASS: Symbol not found for Scene, duration: Double? = definedExternally)

Properties

Link copied to clipboard

Gets the Command that is executed when the button is clicked.

Link copied to clipboard

Gets or sets the the duration of the camera flight in seconds. A value of zero causes the camera to instantly switch to home view. The duration will be computed based on the distance when undefined.

Link copied to clipboard
var scene: ERROR CLASS: Symbol not found for Scene

The scene instance to use.

Link copied to clipboard

Gets or sets the tooltip. This property is observable.