Contains additional options for a playSound occurrence.

interface WorldSoundOptions {
    pitch?: number;
    volume?: number;
}

Properties

Properties

pitch?: number

Pitch of the sound played.

volume?: number

Relative volume and space by which this sound is heard.