demoHull関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A demonstration hull for one ship: a drum of the kit's own plating, with the ship's markings laid over it as a part of their own, to show the lettering at the distance a ship is seen from and close up. The ship's own model is not touched: its builder places its own markings.
インポート
import { demoHull } from "@johnmorrisdotca/uchusen-rockets";
定義
function demoHull(id: string): KitEntry[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
id | string | A ship in |
戻り値
KitEntry[]
The hull's part and the markings' part, for the registry.
例
import { demoHull } from "@johnmorrisdotca/uchusen-rockets";
console.log(demoHull("kaminari").map((entry) => entry.record.name));[ 'ISV KAMINARI hull', 'ISV KAMINARI markings' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。