Reference · Rockets, variants, parts and the fit check
Placetype
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 it
import type { Place } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface Place {
slot: string;
at: Vec3;
shown: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
slot | string | |
at | Vec3 | |
shown | boolean |
Examples
import { placesFor, type Place } from "@johnmorrisdotca/uchusen-rockets";
const places: Place[] = placesFor([], "together", () => 1);
console.log(places.length);0What it prints (run when this page was built)