BoxEditor

new SuperMap3D.BoxEditor(viewer, box)

The Box editor class is used to edit the box, and can activate, deactivate and destroy the editor.
Name Type Description
viewer viewer current viewer
box Entity The box object to be edited, set the editor for this object.

Members

color : Color

Get or set the color of the box.

hoverColor : Color

Get or set the selected color of the edit axis.

Methods

activate()

Activate the box editor.

deactivate()

Disable the box editor

destroy()

Destroys the box editor.

setEditObject(editObject)

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