Interface: BabylonProviderOptions
Defined in: babylon-interactions/src/provider.ts:46
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
camera? | BabylonCameraLike | null | Head pose camera. Defaults to scene.activeCamera. | babylon-interactions/src/provider.ts:56 |
desktopGripDistance? | number | Metres along the pointer ray at which the desktop fallback places its synthetic grip pose. Default 1 metre, matching the three.js adapter, so grab, hinge, dial and slide follow the cursor on desktop. Set it near the distance of the things being manipulated; at 0 the grip sits on the camera and a mouse drag reports camera motion only. | babylon-interactions/src/provider.ts:64 |
scene | BabylonSceneLike | The scene. Supplies the pointer fallback, the camera and the engine. | babylon-interactions/src/provider.ts:54 |
xr? | BabylonXRExperienceLike | null | The WebXRDefaultExperience (or anything with the same surface). Omit it, or pass null, for a desktop-only app: the provider then only ever reports the scene pointer. | babylon-interactions/src/provider.ts:52 |