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
Name | Type | Description |
---|---|---|
value | AssetRef <Sound > | UUID of the referenced sound. |
volume | Float | Volume from 0.0f to 1.0f. |
pan | Float | Pan. -1.0f is left, 1.0f is right. |
playSpeed | Float | The speed at which the sound will play. 1.0f is normal. |
looping | boolean | Whether or not the sound loops. |