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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.