Skip to main content

SoundRef

type SoundRef = {
value: AssetRef<Sound>;
volume: Float;
pan: Float;
playSpeed: Float;
looping: boolean;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:893

Reference to a sound.

Type declaration

NameTypeDescription
valueAssetRef<Sound>UUID of the referenced sound.
volumeFloatVolume from 0.0f to 1.0f.
panFloatPan. -1.0f is left, 1.0f is right.
playSpeedFloatThe speed at which the sound will play. 1.0f is normal.
loopingbooleanWhether or not the sound loops.