The view model for
CesiumInspector
.
参数名称 | 类型 | 描述信息 |
---|---|---|
scene |
Scene | The scene instance to use. |
performanceContainer |
Element | The instance to use for performance container. |
成员(属性)
decrementDepthFrustum : Command
Gets the command to decrement the depth frustum index to be shown
Gets or sets the index of the depth frustum to display. This property is observable.
-
默认值:
1
Gets or sets the index of the depth frustum text. This property is observable.
-
默认值:
''
doFilterPrimitive : Command
Gets the command to toggle a filter that renders only a selected primitive
Gets the command to toggle a filter that renders only a selected tile
Gets or sets if the cesium inspector drop down is visible. This property is observable.
-
默认值:
true
Gets or sets the filter primitive state. This property is observable.
-
默认值:
false
Gets or sets the filter tile state. This property is observable.
-
默认值:
false
Gets or sets the show frustum planes state. This property is observable.
-
默认值:
false
Gets or sets the show frustums state. This property is observable.
-
默认值:
false
Gets or sets the frustum statistic text. This property is observable.
-
默认值:
''
Gets or sets if the general section is visible. This property is observable.
-
默认值:
true
Gets if a primitive has been selected. This property is observable.
-
默认值:
false
Gets if a tile has been selected. This property is observable
-
默认值:
false
incrementDepthFrustum : Command
Gets the command to increment the depth frustum index to be shown
Gets or sets the show performance display state. This property is observable.
-
默认值:
false
Gets the container of the PerformanceDisplay
Gets the command to pick a primitive
Gets if the picking primitive command is active. This property is observable.
-
默认值:
false
Gets the command to pick a tile
Gets if the picking tile command is active. This property is observable.
-
默认值:
false
Gets or sets the current selected primitive
Gets or sets the show primitive bounding sphere state. This property is observable.
-
默认值:
false
Gets or sets the show primitive reference frame state. This property is observable.
-
默认值:
false
Gets or sets if the primitive section is visible. This property is observable.
-
默认值:
false
Gets the scene to control.
Gets the command to pick a tile
Gets the command to pick a tile
Gets the command to pick a tile
Gets the command to pick a tile
Gets the command to pick a tile
Gets or sets the shader cache text. This property is observable.
-
默认值:
''
showPrimitiveBoundingSphere : Command
Gets the command to toggle the visibility of a BoundingSphere for a primitive
showPrimitiveReferenceFrame : Command
Gets the command to toggle the visibility of a
DebugModelMatrixPrimitive
for the model matrix of a primitive
showTileBoundingSphere : Command
Gets the command to toggle the visibility of a BoundingSphere for a selected tile
showTileCoordinates : Command
Gets the command to toggle the visibility of tile coordinates
Gets or sets the suspend updates state. This property is observable.
-
默认值:
false
Gets or sets if the terrain section is visible. This property is observable.
-
默认值:
false
Gets or sets the current selected tile
Gets or sets the show tile bounding sphere state. This property is observable.
-
默认值:
false
Gets or sets the show tile coordinates state. This property is observable.
-
默认值:
false
Gets or sets the selected tile information text. This property is observable.
-
默认值:
''
toggleDropDown : Command
Gets the command to toggle the visibility of the drop down.
Gets the command to expand and collapse the general section
togglePrimitives : Command
Gets the command to expand and collapse the primitives section
Gets the command to expand and collapse the terrain section
Gets or sets the show wireframe state. This property is observable.
-
默认值:
false
方法
Destroys the widget. Should be called if permanently
removing the widget from layout.
返回值:
true if the object has been destroyed, false otherwise.