RenderQuality
The RenderQuality class is used to manage the rendering quality in a scene.
Static Properties
RenderQuality.isScreenShadow : boolean |
| (Read Only) Whether to use screen space shadows (for directional light shadows). |
RenderQuality.shadowDistance : number |
| The maximum shadow distance from the camera (for directional lights). |
RenderQuality.additionalLightSliceShadowMapResolution : number |
| The maximum resolution of a single slice in the dynamic light source shadow map (point lights have 6 slices, spot lights have 1 slice). |
RenderQuality.shadowCascadeType : CascadeShadowType |
| Cascaded shadow type (Directional Light). |
RenderQuality.shadowResolution : ShadowResolutionType |
| Shadow map resolution (for directional lights). |
RenderQuality.shadowWeights : number[] |
| (Read Only) The range weights of each level in the cascaded shadow map. |
RenderQuality.shaderLevel : ShaderLevel |
| Shader level. |
RenderQuality.additionalLightShadowMapMaxResolution : number |
| The maximum resolution for dynamic point light and spotlight shadow maps. |
RenderQuality.drawShadow : boolean |
