SerenityJS
    Preparing search index...

    Hierarchy

    • DataType
      • SoundDataUpdate
    Index

    Constructors

    Properties

    duration: number

    The duration of the fade in seconds. Only used if the type is SoundDataUpdateType.Fade.

    pitch: number

    The new pitch of the sound. Only used if the type is SoundDataUpdateType.SetPitch.

    seconds: number

    The position in seconds to seek to. Only used if the type is SoundDataUpdateType.SeekTo.

    targetVolume: number

    The volume to fade to. Only used if the type is SoundDataUpdateType.Fade.

    The type of the sound data update.

    volume: number

    The new volume of the sound. Only used if the type is SoundDataUpdateType.SetVolume.

    Methods