QualitySettings Manual     Reference     Scripting  
Scripting > Runtime Classes > QualitySettings
QualitySettings

Script interface for Quality Settings.

There are six quality levels to choose from; the details of each are set up in project's Quality Settings. At run time, the current quality level can be changed using this class.

Class Variables
currentLevel

Current graphics quality level.

pixelLightCount

The maximum number of pixel lights that should affect any object.

shadowProjection

Directional light shadow projection.

shadowCascades

Number of cascades to use for directional light shadows.

shadowDistance

Shadow drawing distance.

masterTextureLimit

A texture size limit applied to all textures.

anisotropicFiltering

Global anisotropic filtering mode.

softVegetation

Use a two-pass shader for the vegetation in the terrain engine.

maxQueuedFrames

Maximum number of frames queued up by graphics driver.

vSyncCount

The VSync Count.

antiAliasing

Set The AA Filtering option.

Class Functions
IncreaseLevel

Increase the current quality level.

DecreaseLevel

Decrease the current quality level.