Skip to content

Scene

<Scene> exposes a subset of the scene state. Particle appearance is not here — it belongs to <Grid>.

PropTypeNotes
translateX translateY translateZnumberWorld offset
rotationX rotationY rotationZnumberWorld rotation
PropTypeNotes
maxStepsnumberIteration cap. Raise for non-metric modifiers.
sdfEpsilonnumberSurface-hit threshold. Smaller is finer and slower.
lodScalingnumberScales step budget with distance
stepRelaxationnumberStep length vs overshoot risk
edgeSoftnessnumberSilhouette softness
autoCullbooleanSkip shapes that cannot contribute
PropTypeDefaultNotes
enableReflectionbooleanfalseDraws non-glass shapes into a pre-pass so glass can mirror them
enableRefractionbooleanfalseComposites that texture into the refracted background
prepassScalenumber1Pre-pass resolution as a multiple of the canvas, clamped 0.25–4. Above 1, more detail through and in glass; the pre-pass draws scale² the pixels
bicubicbooleanfalseReads the glass backdrop through a cubic filter: four texture reads per read, smoother magnification

The two flags share one pre-pass. None of the four does anything without a glass material. See Glass.

PropTypeNotes
statsbooleanMounts the overlay — lazily imported
debugModebooleanHeatmap visualisation
showAxesbooleanOrigin axes — lazily imported
fpsnumberFrame-rate cap

A literal false on stats, showAxes or the glass flags removes the feature from the build entirely. Any other value keeps it.

stats reads GPU frame time through timestamp-query, which recent iOS Safari exposes — the overlay shows real numbers on iPhone. The feature detect adapter.features.has('timestamp-query') is authoritative: when it is false the GPU row shows n/a. Do not infer support from the browser or OS.