Class used to help synchronize and run KeyframesAnimation for a given list of Object3D. Mostly used internally when loading glTF files, but could be used externally as well.

Constructors

Properties

renderer: Renderer

The Renderer used to updte this TargetsAnimationsManager.

label: string
uuid: string

The universal unique id of this TargetsAnimationsManager.

targets: Target[]

Array of Target defining the animations that this TargetsAnimationsManager should run.

duration: number

Total duration in seconds of all the animations handled by this TargetsAnimationsManager.

timeScale: number

Timescale to use for all the animations handled by this TargetsAnimationsManager.

isPlaying: boolean

Whether the current TargetsAnimationsManager animations are playing or not.

inputIndices: number[]

Array of all children animations input accessor indices defined in the glTF, used to keep different TargetsAnimationsManager in sync.

siblings: Map<string, TargetsAnimationsManager>

Map of other TargetsAnimationsManager using the exact same inputs and that should be synced together.

Methods