Documentation / @ripl/3d / CameraInteractions
Interface: CameraInteractions ​
Defined in: 3d/src/core/camera.ts:46
Configures which camera interactions (zoom, pivot, pan) are enabled.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
pan? | CameraInteractionOption | Pan the camera and target via middle/shift-drag and two-finger touch. | 3d/src/core/camera.ts:52 |
pivot? | CameraInteractionOption | Orbit (pivot) around the target via drag and single-finger touch. | 3d/src/core/camera.ts:50 |
zoom? | CameraInteractionOption | Zoom via mouse wheel and pinch gesture. | 3d/src/core/camera.ts:48 |