Reference · Solid shape levels
findSolidLevelsfunction
All surface levels in this entry matching the optional kind and size filters.
Import it
import { findSolidLevels } from "@johnmorrisdotca/meikyuu/3d/levels/shapes";
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/shapes";
console.log(findSolidLevels({kind:"box",size:"small"}).length);64What it prints (run when this page was built)