API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeAudioListenerTarget

@codexo/exojs / audio / stable

Anything AudioListener.target can be set to. The listener reads its world-space position from the target each frame: - SceneNode: uses `getWorldTransform()` translation (true world space, composed through RetainedContainer transform-group boundaries) - View: uses `view.center` - Plain `{ x, y }` object: read directly - `null`: no automatic tracking - set `position` manually.

0
props
0
methods
0
events
Import
import { AudioListenerTarget } from '@codexo/exojs'

Anything AudioListener.target can be set to. The listener reads its world-space position from the target each frame: - SceneNode: uses `getWorldTransform()` translation (true world space, composed through RetainedContainer transform-group boundaries) - View: uses `view.center` - Plain `{ x, y }` object: read directly - `null`: no automatic tracking - set `position` manually.

Definition1
Source