useSolarDataProvider Function
Beta
Hook that returns either a SolarTimelineDataProvider or undefined based on if the supplied viewport's display style is set to display shadows.
useSolarDataProvider(viewport: undefined | ScreenViewport): SolarDataProvider | undefined
Parameter | Type | Description |
---|---|---|
viewport | undefined | ScreenViewport |
Returns - SolarDataProvider | undefined
Defined in
Last Updated: 20 June, 2023