Reference · Rockets, variants, parts and the fit check
beaconLampfunction
The slow red beacon: a dome in the beacon material.
Import it
import { beaconLamp } from "@johnmorrisdotca/uchusen-rockets";
Definition
function beaconLamp(at: Vec3, size?: number): Piece[]
Parameters
| Name | Type | Description |
|---|---|---|
at | Vec3 | Where it stands, in metres. |
size (optional) | number | Its radius in metres. Left out: 0.14. |
Returns
Piece[]
The one piece.
Examples
import { beaconLamp } from "@johnmorrisdotca/uchusen-rockets";
console.log(beaconLamp([0, 2, 4])[0].kind);latheWhat it prints (run when this page was built)