SOLID_SHAPES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The shapes.
インポート
import { SOLID_SHAPES } from "@johnmorrisdotca/meikyuu/3d";
ほかのエクスポート元: @johnmorrisdotca/meikyuu/3d/levels/all
定義
const SOLID_SHAPES: readonly ["sphere", "box", "cross", "ring", "torus", "star", "heart"] = ["sphere", "box", "cross", "ring", "torus", "star", "heart"] as const
例
import { SOLID_SHAPES } from "@johnmorrisdotca/meikyuu/3d";
console.log(SOLID_SHAPES);[
'sphere', 'box',
'cross', 'ring',
'torus', 'star',
'heart'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。