リファレンス · 自分の three.js シーンに置く天体
LOOKS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The looks the painter draws: realistic (shaded from the body's real colours and features) and painted (a public-domain surface map, with the shaded look until it arrives).
インポート
import { LOOKS } from "@johnmorrisdotca/wakusei-planets/painter";
定義
const LOOKS: readonly ["realistic", "painted"] = ["realistic", "painted"] as const
例
import { LOOKS, type PainterLook } from "@johnmorrisdotca/wakusei-planets/painter";
const first: PainterLook = LOOKS[0];
console.log(first);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。