Parameters for AdaptiveQuality.

interface AdaptiveQualityParams {
    fastMode?: number;
    restMode?: number;
    restMs?: number;
    view: View;
}

Properties

fastMode?: number

Render mode used while the camera is moving. Default NavigationRender.

Each effect (SAO, shadows, bloom, FXAA, ACES tonemap, edges, …) declares its own renderModes list; an effect activates iff view.renderMode is in that list. The Studio defaults exclude NavigationRender from every expensive effect, so flipping the View into this mode automatically disables them en masse.

restMode?: number

Render mode the view returns to once the camera settles. Default RealisticRender.

restMs?: number

Milliseconds the camera must be still before switching back to restMode. Default 150 ms.

view: View

The View to drive.