Model - styles[]
Every method of the styles[] lane. Each step of a styles[] entry returns a style, and the lane's entries are addressed by the identity schema/lanes.ts declares for it.
| Method | Description | Arg | Type | Default | Meaning |
|---|---|---|---|---|---|
style | Style — 3D-viewport display preset (background / shading / exposure / sun / environment) — styles[] lane only. Referenced by name via a view's viewStyle step. | name | string | 'Style' | Style name (string expression; quote literals). Unique among resolved names. |
background | color | Viewport clear color, hex (e.g. '#1a1a1a'). | |||
shading | string | 'matcap' | 'shaded' | 'wireframe' | 'realistic'. 'matcap' is self-lit form-reading; 'realistic' is the only mode that materializes emitting entities and settings.environment as real renderer lights. | |||
exposure | number | EV compensation on the auto-exposure meter, realistic only. 1 trusts the meter, 2 is twice as bright. | |||
sun | object | Object literal {azimuth, altitude, lux?, skyLux?, kelvin?} (degrees, Z-up) — realistic only. Omit for no sun. | |||
environment | object | Object literal {name?, intensity?} — HDRI image (images[] name or URI) — realistic only. |