CesiumInspectorViewModel

CesiumInspectorViewModel

new

The view model for CesiumInspector.

Parameters:
Name Type Description
scene Scene The scene instance to use.
Throws:
DeveloperError : scene is required.
Source:

Members

:Command

Gets the command to toggle a filter that renders only a selected primitive

:Command

Gets the command to toggle a filter that renders only a selected tile

:Command

Gets the command to toggle whether to suspend tile updates
Gets or sets if the cesium inspector drop down is visible. This property is observable.
Default Value:
  • true

:Boolean

Gets or sets the filter primitive state. This property is observable.
Default Value:
  • false

:Boolean

Gets or sets the filter tile state. This property is observable.
Default Value:
  • false

:Boolean

Gets or sets the show frustums state. This property is observable.
Default Value:
  • false

:String

Gets or sets the frustum statistic text. This property is observable.
Default Value:
  • ''

:String

Gets or sets if the text on the general section expand button. This property is observable.
Default Value:
  • '-'

:Boolean

Gets or sets if the general section is visible. This property is observable.
Default Value:
  • true

:Boolean

Gets if a primitive has been selected. This property is observable.
Default Value:
  • false

:Boolean

Gets if a tile has been selected. This property is observable
Default Value:
  • false

:Boolean

Gets or sets the show performance display state. This property is observable.
Default Value:
  • false

:Boolean

Gets if the picking primitive command is active. This property is observable.
Default Value:
  • false

:Command

Gets the command to pick a primitive

:Command

Gets the command to pick a tile

:Boolean

Gets if the picking tile command is active. This property is observable.
Default Value:
  • false

:Command

Gets or sets the current selected primitive

:Boolean

Gets or sets the show primitive bounding sphere state. This property is observable.
Default Value:
  • false

:Boolean

Gets or sets the show primitive reference frame state. This property is observable.
Default Value:
  • false

:String

Gets or sets if the text on the primitive section expand button. This property is observable.
Default Value:
  • '+'

:Boolean

Gets or sets if the primitive section is visible. This property is observable.
Default Value:
  • false

:Scene

Gets the scene to control.

:Command

Gets the command to pick a tile

:Command

Gets the command to pick a tile

:Command

Gets the command to pick a tile

:Command

Gets the command to pick a tile

:Command

Gets the command to pick a tile

:Command

Gets the command to toggle Scene.debugShowFrustums

:Command

Gets the command to toggle the visibility of a PerformanceDisplay

:Command

Gets the command to toggle the visibility of a BoundingSphere for a primitive

:Command

Gets the command to toggle the visibility of a DebugModelMatrixPrimitive for the model matrix of a primitive

:Command

Gets the command to toggle the visibility of a BoundingSphere for a selected tile

:Command

Gets the command to toggle the visibility of tile coordinates

:Command

Gets the command to toggle the view of the Globe as a wireframe

:Boolean

Gets or sets the suspend updates state. This property is observable.
Default Value:
  • false

:String

Gets or sets if the text on the terrain section expand button. This property is observable.
Default Value:
  • '+'

:Boolean

Gets or sets if the terrain section is visible. This property is observable.
Default Value:
  • false

:Command

Gets or sets the current selected tile

:Boolean

Gets or sets the show tile bounding sphere state. This property is observable.
Default Value:
  • false

:Boolean

Gets or sets the show tile coordinates state. This property is observable.
Default Value:
  • false

:String

Gets or sets the selected tile information text. This property is observable.
Default Value:
  • ''

:Command

Gets the command to toggle the visibility of the drop down.

:Command

Gets the command to expand and collapse the general section

:Command

Gets the command to expand and collapse the primitives section

:Command

Gets the command to expand and collapse the terrain section

:Boolean

Gets or sets the show wireframe state. This property is observable.
Default Value:
  • false