Reference · Dice surface levels
solidLevelsOffunction
The native surface-level collection for this kind and size; empty when this entry has none.
Import it
import { solidLevelsOf } from "@johnmorrisdotca/meikyuu/3d/levels/dice";
Definition
function solidLevelsOf(kind: SolidKind, size: SolidSize): readonly MeikyuuSolidLevel[]
Parameters
| Name | Type | Description |
|---|---|---|
kind | SolidKind | The native surface kind. |
size | "small" | "medium" | "large" | "huge" | "colossal" | The small, medium, large, huge or colossal collection. |
Returns
readonly MeikyuuSolidLevel[]
The native surface-level collection for this kind and size; empty when this entry has none.
Examples
import { solidLevelsOf } from "@johnmorrisdotca/meikyuu/3d/levels/dice";
console.log(solidLevelsOf("prism","small").length);64What it prints (run when this page was built)