Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Script interface for Quality Settings.
There can be an arbitrary number of quality settings. The details of each are set up in the project's Quality Settings. At run time, the current quality level can be changed using this class.
|Active color space (Read Only).
|Global anisotropic filtering mode.
|Set The AA Filtering option.
|Async texture upload provides timesliced async texture upload on the render thread with tight control over memory and timeslicing. There are no allocations except for the ones which driver has to do. To read data and upload texture data a ringbuffer whose size can be controlled is re-used.Use asyncUploadBufferSize to set the buffer size for asynchronous texture uploads. The size is in megabytes. Minimum value is 2 and maximum is 512. Although the buffer will resize automatically to fit the largest texture currently loading, it is recommended to set the value approximately to the size of biggest texture used in the scene to avoid re-sizing of the buffer which can incur performance cost.
|Async texture upload provides timesliced async texture upload on the render thread with tight control over memory and timeslicing. There are no allocations except for the ones which driver has to do. To read data and upload texture data a ringbuffer whose size can be controlled is re-used.Use asyncUploadTimeSlice to set the time-slice in milliseconds for asynchronous texture uploads per frame. Minimum value is 1 and maximum is 33.
|If enabled, billboards will face towards camera position rather than camera orientation.
|Desired color space (Read Only).
|Global multiplier for the LOD's switching distance.
|A texture size limit applied to all textures.
|A maximum LOD level. All LOD groups.
|Maximum number of frames queued up by graphics driver.
|The indexed list of available Quality Settings.
|Budget for how many ray casts can be performed per frame for approximate collision testing.
|The maximum number of pixel lights that should affect any object.
|Enables realtime reflection probes.
|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.
|The normalized cascade distribution for a 2 cascade setup. The value defines the position of the cascade with respect to Zero.
|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.
|Number of cascades to use for directional light shadows.
|Shadow drawing distance.
|The rendering mode of Shadowmask.
|Offset shadow frustum near plane.
|Directional light shadow projection.
|The default resolution of the shadow maps.
|Realtime Shadows type to be used.
|Should soft blending be used for particles?
|Use a two-pass shader for the vegetation in the terrain engine.
|The VSync Count.
|Decrease the current quality level.
|Returns the current graphics quality level.
|Increase the current quality level.
|Sets a new graphics quality level.
|Should the object be hidden, saved with the scene or modifiable by the user?
|The name of the object.
|Returns the instance id of the object.
|Returns the name of the GameObject.
|Removes a gameobject, component or asset.
|Destroys the object obj immediately. You are strongly recommended to use Destroy instead.
|Makes the object target not be destroyed automatically when loading a new scene.
|Returns the first active loaded object of Type type.
|Returns a list of all active loaded objects of Type type.
|Clones the object original and returns the clone.
Did you find this page useful? Please give it a rating: