new Cesium.VoxelInspectorViewModel(scene)

The view model for VoxelInspector.
Name Type Description
scene Scene 要使用的场景实例 .

Members

readonly scene : Scene

有了场面

voxelPrimitive : VoxelPrimitive

获得或设定视图模型的原始.

Methods

compileShader()

在阴影编辑器中编译阴影器.

destroy()

摧毁部件。 如果永久调用, 应该调用 从布局中删除部件 .

isDestroyed()boolean

Returns:
如果物体已被销毁, 则真实无误 .

shaderEditorKeyPress()

在阴影编辑器上处理关键新闻事件.

toggleBounds()

切换边框部分的可见度

toggleClipping()

切换剪辑部分的可见度

toggleDisplay()

切换显示部分的可见度

toggleInspector()

切换检查员的可见度

toggleShader()

切换阴影部分的可见度

toggleTransform()

切换变换部分的可见度
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.