A TrackHandler is responsible for evaluating a specific type of timeline track.
A timeline track can be an animation track, audio track, signal track, control track etc and is controlled by a PlayableDirector.

Hierarchy (view full)

Constructors

Accessors

  • get muted(): boolean
  • Returns boolean

  • set muted(val): void
  • Parameters

    • val: boolean

    Returns void

Methods

  • Parameters

    • model: ClipModel

    Returns void

  • Parameters

    • time: number
    • index: number
    • models: ClipModel[]
    • isActive: boolean = true

    Returns number

  • Parameters

    • backwards: boolean = false

    Returns IterableIterator<ClipModel>

  • Parameters

    • time: number
    • model: ClipModel

    Returns number

  • Call to load audio buffer for a specific time in the track. Can be used to preload the timeline audio

    Parameters

    • time: number
    • lookAhead: number = 0
    • lookBehind: number = 0

    Returns null | Promise<(null | AudioBuffer)[]>

  • Parameters

    • allow: boolean

    Returns void

  • invoked when PlayableDirectory playmode state changes (paused, playing, stopped)

    Parameters

    • isPlaying: boolean

    Returns any

  • Returns void

  • Returns void