Interface: ThreeAudioPortOptions
Defined in: threejs-environment/src/audio-port.ts:26
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
loader? | readonly | Pick<AudioLoader, "loadAsync"> | Injected for tests. Defaults to a shared AudioLoader. | threejs-environment/src/audio-port.ts:35 |
parent? | readonly | Object3D<Object3DEventMap> | Where positional voices are parented. Must be in the rendered scene graph or they will not be heard. Default: the listener's own parent, falling back to a detached group (which is a bug the app should fix by passing one). | threejs-environment/src/audio-port.ts:33 |
refDistance? | readonly | number | Reference distance for positional voices, metres. Default 1. | threejs-environment/src/audio-port.ts:37 |