Skip to content

KBE3D / KBCore / Cesium / viewerVoxelInspectorMixin

函数: viewerVoxelInspectorMixin()

viewerVoxelInspectorMixin(viewer: Viewer): void

A mixin which adds the VoxelInspector widget to the Viewer widget. Rather than being called directly, this function is normally passed as a parameter to Viewer#extend, as shown in the example below.

参数

viewer

Viewer

The viewer instance.

返回

void

示例

ts
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.extend(Cesium.viewerVoxelInspectorMixin);

KBE3D @3.0.0 Copyright © 2024-present KBE3D