Extensions
SectionTool
Default section tool implementation.
This extension requires and active CameraController extension implementation.
Accessors
enabled
Enables/disables the extension.
Returns: boolean
visible
Gets and sets the visbility of the actual section box.
Returns: boolean
Methods
getBox
Gets the current section box bounds.
Returns: Box3
on
Function for subscribing to camera events.
Parameters
- e: CameraEvent
- handler: The handler for the events
Returns: void
removeListener
Function for un-subscribing from camera events.
Parameters
- e: CameraEvent
- handler: The handler for the events to unsubscribe
Returns: void
setBox
Sets the section box to the specified bounds Parameters
- targetBox: Box3
- optional offset: Linear tolerance
Returns: void
toggle
Enables/disables the section tool.
Returns: void
Typedefs
SectionToolEvent
Events that the extension can emit.
SectionToolEventPayload
Mapping SectionToolEvent types to handler argument type