Skip to content
Shapemetry

@huukhanhnguyen/model / document/styles

document/styles

STYLE_CAPABILITIES

const STYLE_CAPABILITIES: Record<NonNullable<Style["shading"]>, StyleCapabilities>

What each shading mode can show — the SSOT both the model's validation (which style fields a shading permits) and packages/three's Viewport read, instead of scattered shading === "realistic" string comparisons.

Last updated: 📖 1 min readEdit on GitHub