useScheduleAnimationDataProvider Function

Hook that returns either a ScheduleAnimationTimelineDataProvider or undefined based on if the supplied viewport contains schedule script.

useScheduleAnimationDataProvider(viewport: undefined | ScreenViewport): undefined | ScheduleAnimationTimelineDataProvider

Parameter Type Description
viewport undefined | ScreenViewport  

Returns - undefined | ScheduleAnimationTimelineDataProvider

Defined in

Last Updated: 20 June, 2023