@minecraft
    正在准备搜索索引...

    类 SoundDurationInfo实验性

    Provides duration and playback information for a sound whose definition declares a duration.

    索引

    属性

    duration: number

    Gets the total duration of the sound in seconds.

    isActive: boolean

    Gets whether the sound is still being tracked.

    方法

    • 世界修改

      返回 number

      Elapsed playback time in seconds.

      Returns the elapsed playback time of the sound, in seconds, since it started playing.