Reference · The <chikyu-space> element
setSatellitePainterfunction
Where the 3D models of large satellites come from if the page has any: the package ships none. With a painter set, a satellite followed (ride(ref, { view: "follow" })) that the painter has a model for is drawn as that model, in the middle
of the picture at a size that reads, pointed the way it flies, lit by the Sun; a satellite it has none for stays a dot. See SatellitePainter.
Import it
import { setSatellitePainter } from "@johnmorrisdotca/chikyu-earth/space/element";
Also exported from: @johnmorrisdotca/chikyu-earth/space/no-cultures
Definition
function setSatellitePainter(next: SatellitePainter | undefined): void
Parameters
| Name | Type | Description |
|---|---|---|
next | SatellitePainter | undefined | The painter, or |
Examples
import { setSatellitePainter } from "@johnmorrisdotca/chikyu-earth/space/element";
setSatellitePainter({ has: (norad) => norad === 25544, make: async () => null });