Capítulo 329 de 859
A helper for SelectionBox.
It visualizes the current selection box with a div container element.
import { SelectionHelper } from 'three/addons/interactive/SelectionHelper.js';
Constructor
| Signature |
|---|
| `new SelectionHelper( renderer : WebGPURenderer |
Properties
| Property | Description |
|---|---|
.element : HTMLDivElement | The visualization of the selection box. |
.enabled : boolean | Whether helper is enabled or not. |
.isDown : boolean | Whether the mouse or pointer is pressed down. |
| `.renderer : WebGPURenderer | WebGLRenderer` |
Methods
| Method | Description |
|---|---|
.dispose() | Call this method if you no longer want use to the controls. It frees all internal resources and removes all event listeners. |