useAnalysisAnimationDataProvider Function

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

useAnalysisAnimationDataProvider(viewport: undefined | ScreenViewport): undefined | AnalysisAnimationTimelineDataProvider

Parameter Type Description
viewport undefined | ScreenViewport  

Returns - undefined | AnalysisAnimationTimelineDataProvider

Defined in

Last Updated: 12 June, 2024