MEIKYUU_SOLID_LEVELS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every list: a solid, then a size.
インポート
import { MEIKYUU_SOLID_LEVELS } from "@johnmorrisdotca/meikyuu/3d/levels/all";
定義
const MEIKYUU_SOLID_LEVELS: Partial<Record<SolidKind, Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>>>> = { ...FIRST, ...DICE, ...SHAPES }
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
heart (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
star (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
ring (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
cross (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
cube (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
sphere (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
tetrahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
octahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
icosahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
prism (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
trapezohedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
dodecahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
rhombic-dodecahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
bipyramid (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
icositetrahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
triacontahedron (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
box (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
torus (省略可) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined |
例
import { MEIKYUU_SOLID_LEVELS } from "@johnmorrisdotca/meikyuu/3d/levels/all";
console.log(Object.keys(MEIKYUU_SOLID_LEVELS));[
'cube', 'sphere',
'tetrahedron', 'octahedron',
'icosahedron', 'prism',
'trapezohedron', 'dodecahedron',
'rhombic-dodecahedron', 'bipyramid',
'icositetrahedron', 'triacontahedron',
'box', 'cross',
'ring', 'torus',
'star', 'heart'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。