class in UnityEngine
/
Inherits from:Object
/
Implemented in:UnityEngine.CoreModule
This represents the script interface for Quality Settings.
Use the QualitySettings
class to change the current quality level at runtime. You can check the details of quality settings in your project's Quality Settings.
Property | Description |
---|---|
activeColorSpace | Active color space (Read Only). |
anisotropicFiltering | Global anisotropic filtering mode. |
antiAliasing | Choose the level of Multi-Sample Anti-aliasing (MSAA) that the GPU performs. |
asyncUploadBufferSize | Sets the ring buffer size used for asynchronous texture and mesh data uploads. |
asyncUploadPersistentBuffer | This flag determines whether Unity retains the ring buffer allocation used for asynchronous texture and mesh uploads after all upload operations have completed. |
asyncUploadTimeSlice | Sets the time-slice allocated per frame for asynchronous texture and mesh data uploads. |
billboardsFaceCameraPosition | If enabled, billboards will face towards camera position rather than camera orientation. |
desiredColorSpace | Desired color space (Read Only). |
lodBias | Global multiplier for the LOD's switching distance. |
masterTextureLimit | A texture size limit applied to most textures. Indicates how many mipmaps should be dropped. The default value is zero. |
maximumLODLevel | A maximum LOD level. All LOD groups. |
maxQueuedFrames | Maximum number of frames queued up by graphics driver. |
names | The indexed list of available Quality Settings. |
particleRaycastBudget | Budget for how many ray casts can be performed per frame for approximate collision testing. |
pixelLightCount | The maximum number of pixel lights that should affect any object. |
realtimeGICPUUsage | How much CPU usage to assign to the final lighting calculations at runtime. |
realtimeReflectionProbes | Enables or disables real-time reflection probes. |
renderPipeline | The RenderPipelineAsset that defines the override render pipeline for the current quality level. |
resolutionScalingFixedDPIFactor | In resolution scaling mode, this factor is used to multiply with the target Fixed DPI specified to get the actual Fixed DPI to use for this quality setting. |
shadowCascade2Split | The normalized cascade distribution for a 2 cascade setup. The value defines the position of the cascade with respect to Zero. |
shadowCascade4Split | The normalized cascade start position for a 4 cascade setup. Each member of the vector defines the normalized position of the coresponding cascade with respect to Zero. |
shadowCascades | Number of cascades to use for directional light shadows. |
shadowDistance | Shadow drawing distance. |
shadowmaskMode | The rendering mode of Shadowmask. |
shadowNearPlaneOffset | Offset shadow frustum near plane. |
shadowProjection | Directional light shadow projection. |
shadowResolution | The default resolution of the shadow maps. |
shadows | Real-time Shadows type to be used. |
skinWeights | The maximum number of bones per vertex that are taken into account during skinning, for all meshes in the project. |
softParticles | Should soft blending be used for particles? |
softVegetation | Use a two-pass shader for the vegetation in the terrain engine. |
streamingMipmapsActive | Enable automatic streaming of texture mipmap levels based on their distance from all active cameras. |
streamingMipmapsAddAllCameras | Process all enabled Cameras for texture streaming (rather than just those with StreamingController components). |
streamingMipmapsMaxFileIORequests | The maximum number of active texture file IO requests from the texture streaming system. |
streamingMipmapsMaxLevelReduction | The maximum number of mipmap levels to discard for each texture. |
streamingMipmapsMemoryBudget | The total amount of memory (in megabytes) to be used by streaming and non-streaming textures. |
streamingMipmapsRenderersPerFrame | The number of renderer instances that are processed each frame when calculating which texture mipmap levels should be streamed. |
vSyncCount | Represents the number of vertical syncs that should pass between each frame. |
Method | Description |
---|---|
DecreaseLevel | Decrease the current quality level. |
GetAllRenderPipelineAssetsForPlatform | [Editor Only] Fills the given list with all the Render Pipeline Assets on any Quality Level for the given platform. Without filtering by Render Pipeline Asset type or null. |
GetQualityLevel | Returns the current graphics quality level. |
GetQualitySettings | Provides a reference to the QualitySettings object. |
GetRenderPipelineAssetAt | Provides a reference to the RenderPipelineAsset that defines the override render pipeline for a given quality level. |
IncreaseLevel | Increase the current quality level. |
SetLODSettings | Sets the lodBias and maximumLODLevel at the same time. |
SetQualityLevel | Sets a new graphics quality level. |
Property | Description |
---|---|
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | The name of the object. |
Method | Description |
---|---|
GetInstanceID | Gets the instance ID of the object. |
ToString | Returns the name of the object. |
Method | Description |
---|---|
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindAnyObjectByType | Retrieves any active loaded object of Type type. |
FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
FindObjectOfType | Returns the first active loaded object of Type type. |
FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | Clones the object original and returns the clone. |
Operator | Description |
---|---|
bool | Does the object exist? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |