Configures canvas resolution scaling for a View.

  • Located at View.resolutionScale.
  • Resolution scaling reduces the pixel resolution of a View's canvas to improve its frame rate, typically applied temporarily during camera movement to enhance responsiveness.
  • View will apply resulotion scaling when View.renderMode is set to one of the values specified in ResolutionScale.renderModes.

See @xeokit/sdk/viewer for usage info.

Properties

view: View

The View to which this ResolutionScale belongs.

Accessors

Methods