リファレンス · <wakusei-space> 要素 (地球・月・太陽・惑星をその位置に)
RideTarget型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a camera can ride along with: a body of the view (moon, mars, ... going round the Earth), a moon of a planet in the view (io, going round Jupiter), or any moving point of your own.
インポート
import type { RideTarget } from "@johnmorrisdotca/wakusei-planets/space/element";
定義
type RideTarget = SpaceBody | MoonId | RidePoint;
例
import type { RideTarget } from "@johnmorrisdotca/wakusei-planets/space/element";
const targets: RideTarget[] = ["moon", "io", { at: () => null }];
console.log(targets.length);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。