Reference · Cube engine and views
CUBE_SCALE_INTERACTIVEconstant
What a cube drawn at each scale is, apart from its width: a small one is for looking at, so it is not turned by a hand or a key unless asked.
Import it
import { CUBE_SCALE_INTERACTIVE } from "@johnmorrisdotca/kyuubu";
Definition
const CUBE_SCALE_INTERACTIVE: Readonly<Record<"small" | "medium" | "large", boolean>> = { small: false, medium: true, large: true }
Members
| Name | Type | Description |
|---|---|---|
small | boolean | |
medium | boolean | |
large | boolean |
Examples
import { CUBE_SCALE_INTERACTIVE } from "@johnmorrisdotca/kyuubu";
console.log(CUBE_SCALE_INTERACTIVE);{ small: false, medium: true, large: true }What it prints (run when this page was built)