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: 17 December, 2024