BoxEditor

new Cesium.BoxEditor(viewer, box)

The Box editor class is used to edit the box, and the editor can be activated, invalidated, and destroyed.
Name Type Description
viewer viewer Current viewer
box Entity Set the editor for the box object to be edited.

Members

color : Color

Get or set the color of the box.

Methods

activate()

Activate the box editor.

deactivate()

Disable the box editor.

destroy()

Destroy the box editor.

setEditObject(editObject)

Set editing objects for the editor.
Name Type Description
editObject Object The box object to be edited.