useAnalysisAnimationDataProvider Function

Hook that returns either a AnalysisAnimationTimelineDataProvider or undefined based on if the supplied viewport contains analysis data.

useAnalysisAnimationDataProvider(viewport: ScreenViewport): undefined | AnalysisAnimationTimelineDataProvider

Parameter Type Description
viewport ScreenViewport  

Returns - undefined | AnalysisAnimationTimelineDataProvider

Defined in

Last Updated: 14 November, 2024