Place型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where one part stands for a choice of what to show: its slot, its position in metres and whether it is shown at all.
インポート
import type { Place } from "@johnmorrisdotca/uchusen-rockets";
定義
interface Place {
slot: string;
at: Vec3;
shown: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
slot | string | |
at | Vec3 | |
shown | boolean |
例
import { placesFor, type Place } from "@johnmorrisdotca/uchusen-rockets";
const places: Place[] = placesFor([], "together", () => 1);
console.log(places.length);0出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。