useSolarDataProvider Function

Hook that returns either a SolarTimelineDataProvider or undefined based on if the supplied viewport's display style is set to display shadows.

useSolarDataProvider(viewport: ScreenViewport): SolarDataProvider | undefined

Parameter Type Description
viewport ScreenViewport  

Returns - SolarDataProvider | undefined

Defined in

Last Updated: 20 November, 2024