viewerVoxelInspectorMixin

external fun viewerVoxelInspectorMixin(viewer: Viewer)(source)

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.

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

Parameters

viewer

The viewer instance.

See also