Reference · The realistic Earth's pure parts
loadMichromafunction
Loads Michroma, the family's font for a name written on a body or a sky, from where setBodyLabelFontUrl says (beside kazoku-ui's label by default). Once: asking again does nothing.
Import it
import { loadMichroma } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
function loadMichroma(): Promise<void>
Returns
Promise<void>
A promise that settles when the font is in.
Examples
import { loadMichroma } from "@johnmorrisdotca/chikyu-earth/realistic";
await loadMichroma();