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 the box editor.
-
Disable the box editor
-
Destroys the box editor.
-
Sets the editing object for the editor.
Name Type Description editObject
Object The box object to be edited