beaconLamp関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The slow red beacon: a dome in the beacon material.
インポート
import { beaconLamp } from "@johnmorrisdotca/uchusen-rockets";
定義
function beaconLamp(at: Vec3, size?: number): Piece[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
at | Vec3 | Where it stands, in metres. |
size (省略可) | number | Its radius in metres. Left out: 0.14. |
戻り値
Piece[]
The one piece.
例
import { beaconLamp } from "@johnmorrisdotca/uchusen-rockets";
console.log(beaconLamp([0, 2, 4])[0].kind);lathe出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。