Skip to main content

Interface: FeedbackAudioSink

Defined in: webxr-interactions/src/feedback.ts:61

Whatever the client uses to play a sound. Deliberately tiny: an id the client resolved to a buffer/sample of its own, and a gain. The core never loads, decodes or owns audio.

Methods​

play()​

play(cueId: string, options?: {
gain?: number;
}): void;

Defined in: webxr-interactions/src/feedback.ts:62

Parameters​

ParameterType
cueIdstring
options?{ gain?: number; }
options.gain?number

Returns​

void