HullLayer型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One layer of a hull: its place in the stack (1 is the outside), what it is, what it is made of, its thickness in millimetres, and what it is for.
インポート
import type { HullLayer } from "@johnmorrisdotca/uchusen-rockets";
定義
interface HullLayer {
n: number;
id: "ablative" | "whipple" | "armour" | "foam" | "pressure" | "frame" | "lining" | "water" | "radiation";
name: string;
material: MaterialName;
made: string;
mm: number;
note: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
n | number | |
id | "frame" | "foam" | "water" | "ablative" | "whipple" | "armour" | "pressure" | "lining" | "radiation" | |
name | string | |
material | "fin" | "deck" | "white" | "tile" | "dark" | "bell" | "foam" | "steel" | "tile-plain" | "soot" | "bell-inside" | "engine-metal" | "engine-pale" | "fin-dark" | "black" | "ink-worn" | "gold" | "solar" | "glass" | "blue" | "yellow" | "concrete" | "ground" | "sand" | "water" | "red" | "hull-white" | "hull-white-worn" | "hull-orange" | "hull-orange-worn" | "hull-dawn" | "hull-dawn-worn" | "hull-yellow" | "hull-grey" | "hull-grey-dark" | "hull-blue" | "panel-dark" | "coolant" | "blanket" | "copper" | "coil" | "radiator" | "radiator-hot" | "hazard" | "frost" | "lamp-amber" | "lamp-blue" | "lamp-red" | "plant" | "fuel" | "core" | "blanket-worn" | "foil" | "kapton" | "pipe-steel" | "window" | "coil-lit" | "nav-red" | "nav-green" | "nav-white" | "strobe" | "beacon" | "flood" | "light-pool" | "light-pool-mid" | "light-pool-edge" | "halo-port" | "halo-port-soft" | "halo-starboard" | "halo-starboard-soft" | "halo-stern" | "halo-stern-soft" | "halo-strobe" | "halo-strobe-soft" | "halo-beacon" | "halo-beacon-soft" | "halo-window" | "glass-clear" | "sky-wash" | "grow-lamp" | "leaf" | "soil" | "fabric" | "wood" | "lawn" | "lawn-dark" | "meadow" | "shrub" | "bark" | "flower" | "crop-gold" | "crop-green" | "water-clear" | What the mesh is drawn in. |
made | string | The material in words. |
mm | number | Thickness in millimetres. |
note | string |
例
import { HULL_STACKS, type HullLayer } from "@johnmorrisdotca/uchusen-rockets";
const outer: HullLayer = HULL_STACKS.transport.layers[0];
console.log(outer.n, outer.name, outer.mm);1 Ablative skin 40出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。