Creates a new SectionBox gizmo controller.
Determines whether the section gizmo applies clipping planes to the model.
When true
, renderer.section.active
is enabled.
Determines whether the gizmo is interactive (i.e. responds to pointer events).
When true
, pointer events are registered and box handles can be dragged.
Dispatches when the user finishes manipulating (dragging) the box. The payload is the final THREE.Box3 used for clipping.
Dispatches a boolean indicating pointer hover state on the box handles:
true
if the pointer has entered a handlefalse
if it has left or no handle is hoveredDispatches when any of the following properties change:
Determines whether the section box gizmo is visible in the scene.
Returns a copy of the current section box. To programmatically update the box, see setBox.
Manages a section box gizmo, serving as a proxy between the renderer and the user.
This class:
Box3
that defines the clipping region.