Experimental interface for receiving timeline animation callbacks. Register at the PlayableDirector

interface ITimelineAnimationOverride {
    onTimelinePosition?(director, target, time, position): any;
    onTimelineRotation?(director, target, time, rotation): any;
}

Methods

  • Parameters

    • director: PlayableDirector

      The director that is playing the timeline

    • target: Object3D<Object3DEventMap>

      The target object that is being animated

    • time: number

      The current time of the timeline

    • position: Vector3

      The evaluated position of the target object at the current time

    Returns any

  • Parameters

    • director: PlayableDirector

      The director that is playing the timeline

    • target: Object3D<Object3DEventMap>

      The target object that is being animated

    • time: number

      The current time of the timeline

    • rotation: Quaternion

      The evaluated rotation of the target object at the current time

    Returns any

Generated using TypeDoc