视图模型为 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.
获取场景 Gets the scene
获取或设置当前场景模式。这个性质是可以观察到的。 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,否则为 false。 true if the object has been destroyed, false otherwise.
