Drives adaptive-quality switching for one ViewProfiles.

Listens for camera changes on the associated View. On the first change in a burst it selects fastProfile; once the camera has been still for restMs, it selects restProfile.

At most one adapter may be live per ViewProfiles instance. Set AdaptiveQuality.enabled to false to suspend adaptive switching without releasing the adapter, or call AdaptiveQuality.destroy to tear it down before re-configuring. On disable or destroy the component restores restProfile.

import {AdaptiveQuality} from "@xeokit/sdk/viewing/adaptiveQuality";

const aq = new AdaptiveQuality({viewProfiles});
aq.destroy();

Constructors

Properties

Accessors

Methods

Constructors

Properties

viewProfiles: ViewProfiles

The ViewProfiles component this adapter drives.

Accessors

Methods