接口 PlayerSoundOptions实验性

Additional options for how a sound plays for a player.

interface PlayerSoundOptions {
    location?: Vector3;
    pitch?: number;
    volume?: number;
}

属性

location?: Vector3

Location of the sound; if not specified, the sound is played near a player.

pitch?: number

Optional pitch of the sound.

volume?: number

Optional volume of the sound.