Accessors
enabled
visible
Methods
getBox
on
- e: CameraEvent
- handler: The handler for the events
removeListener
- e: CameraEvent
- handler: The handler for the events to unsubscribe
setBox
- targetBox: Box3
- optional offset: Linear tolerance
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Default section tool implementation.
get enabled(): boolean
set enabled(value: boolean)
get visible(): boolean
set visible(value: boolean)
getBox(): Box3
on(e: CameraEvent, handler: (data: boolean) => void)
removeListener(e: CameraEvent, handler: (data: unknown) => void)
setBox(targetBox: Box3, offset = 0): void
toggle(): void
enum SectionToolEvent {
DragStart = 'section-box-drag-start',
DragEnd = 'section-box-drag-end',
Updated = 'section-box-changed',
}
interface SectionToolEventPayload {
[SectionToolEvent.DragStart]: void;
[SectionToolEvent.DragEnd]: void;
[SectionToolEvent.Updated]: Plane[];
}