Reference · Numbered surface levels
findSolidLevelsfunction
All surface levels in this entry matching the optional kind and size filters.
Import it
import { findSolidLevels } from "@johnmorrisdotca/meikyuu/3d/levels";
Definition
function findSolidLevels(filter?: { kind?: SolidKind; size?: SolidSize; }): MeikyuuSolidLevel[]
Parameters
| Name | Type | Description |
|---|---|---|
filter (optional) | { kind?: SolidKind; size?: SolidSize; } | undefined | Optional native kind and size filters. |
Returns
MeikyuuSolidLevel[]
All surface levels in this entry matching the optional kind and size filters.
Examples
import { findSolidLevels } from "@johnmorrisdotca/meikyuu/3d/levels";
console.log(findSolidLevels({kind:"cube",size:"small"}).length);64What it prints (run when this page was built)