ScheduleAnimationTimelineDataProvider Class

ScheduleAnimation Timeline Data Provider - allows a TimelineComponent to animate the data found in a ScheduleScript in a ViewState.

Extends

  • BaseTimelineDataProvider

Implements

Methods

Name Description
constructor(viewState: ViewState, viewport?: ScreenViewport): ScheduleAnimationTimelineDataProvider    
loadTimelineData(): Promise<boolean>    
onAnimationFractionChanged(animationFraction: number): void    
onPlaybackSettingChanged(settings: PlaybackSettings): void    

Inherited methods

Name Inherited from Description
getSettings(): PlaybackSettings BaseTimelineDataProvider  
updateSettings(settings: PlaybackSettings): void BaseTimelineDataProvider  

Inherited properties

Name Type Inherited from Description
_settings Protected PlaybackSettings BaseTimelineDataProvider  
_viewport Protected ScreenViewport | undefined BaseTimelineDataProvider  
animationFraction number BaseTimelineDataProvider  
duration Accessor ReadOnly number BaseTimelineDataProvider Called to get playback duration
end Date | undefined BaseTimelineDataProvider  
id "TestTimelineDataProvider" = "TestTimelineDataProvider" BaseTimelineDataProvider  
initialDuration Accessor ReadOnly number BaseTimelineDataProvider Called to get the initial scrubber location
loop Accessor ReadOnly boolean BaseTimelineDataProvider  
start Date | undefined BaseTimelineDataProvider  
supportsTimelineAnimation boolean BaseTimelineDataProvider  
viewId string BaseTimelineDataProvider  
viewport Accessor ScreenViewport | undefined BaseTimelineDataProvider  

Defined in

Last Updated: 16 June, 2021