SerenityJS
    Preparing search index...

    Interface PlaySoundOptions

    interface PlaySoundOptions {
        pitch?: number;
        position?: IPosition;
        volume?: number;
    }
    Index

    Properties

    pitch?: number

    The pitch level of the sound.

    position?: IPosition

    The position to play the sound at. If not provided, the sound will be played at the player's current position.

    volume?: number

    The volume level of the sound.