The view model for
ProjectionPicker
.
Name | Type | Description |
---|---|---|
scene |
Scene | The Scene to switch projections. |
Members
-
Gets or sets whether the button drop-down is currently visible. This property is observable.
-
Default Value:
false
-
isOrthographicProjection : Command
-
Gets whether the scene is currently using an orthographic projection.
-
scene : Scene
-
Gets the scene
-
sceneMode : SceneMode
-
Gets or sets the current SceneMode. This property is observable.
-
Gets the currently active tooltip. This property is observable.
-
switchToOrthographic : Command
-
Gets the command to switch to orthographic projection.
-
switchToPerspective : Command
-
Gets the command to switch to a perspective projection.
-
toggleDropDown : Command
-
Gets the command to toggle the drop down box.
-
Gets or sets the orthographic projection tooltip. This property is observable.
-
Default Value:
'Orthographic Projection'
-
Gets or sets the perspective projection tooltip. This property is observable.
-
Default Value:
'Perspective Projection'
Methods
-
Destroys the view model.
-
Returns:
true if the object has been destroyed, false otherwise.