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.
names |
The indexed list of available Quality Settings |
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. |
lodBias |
Global multiplier for the LOD's switching distance. |
maximumLODLevel |
A maximum LOD level. All LOD groups |
particleRaycastBudget |
Budget for how many ray casts can be performed per frame for approximate collision testing. |
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. |
desiredColorSpace |
Desired color space |
activeColorSpace |
Active color space |
blendWeights |
Blend weights. |
GetQualityLevel |
Returns the current graphics quality level. |
SetQualityLevel |
Sets a new graphics quality level. |
IncreaseLevel |
Increase the current quality level. |
DecreaseLevel |
Decrease the current quality level. |
name |
The name of the object. |
hideFlags |
Should the object be hidden, saved with the scene or modifiable by the user? |
GetInstanceID |
Returns the instance id of the object. |
ToString |
Returns the name of the game object. |
operator bool |
Does the object exist? |
Instantiate |
Clones the object original and returns the clone. |
Destroy |
Removes a gameobject, component or asset. |
DestroyImmediate |
Destroys the object obj immediately. It is strongly recommended to use Destroy instead. |
FindObjectsOfType |
Returns a list of all active loaded objects of Type type. |
FindObjectOfType |
Returns the first active loaded object of Type type. |
operator == |
Compares if two objects refer to the same |
operator != |
Compares if two objects refer to a different object |
DontDestroyOnLoad |
Makes the object target not be destroyed automatically when loading a new scene. |