QualitySettings

class in UnityEngine

/

Hereda de:Object

Cambiar al Manual

Descripción

Interfaz script para 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.

Variables Estáticas

activeColorSpaceActiva el espacio de color (lectura solamente).
anisotropicFilteringModo de filtrado anisotrópico global.
antiAliasingMire la opción AA Filtering.
asyncUploadBufferSizeAsynchronous texture and mesh data upload provides timesliced async texture and mesh data 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 and mesh data, Unity re-uses a ringbuffer whose size can be controlled.Use asyncUploadBufferSize to set the buffer size for asynchronous texture and mesh data uploads. The size is in megabytes. The minimum value is 2 and the maximum value is 512. The buffer resizes automatically to fit the largest texture currently loading. To avoid re-sizing of the buffer, which can incur performance cost, set the value approximately to the size of biggest texture used in the Scene.
asyncUploadPersistentBufferThis flag controls if the async upload pipeline's ring buffer remains allocated when there are no active loading operations. Set this to true, to make the ring buffer allocation persist after all upload operations have completed. If you have issues with excessive memory usage, you can set this to false. This means you reduce the runtime memory footprint, but memory fragmentation can occur. The default value is true.
asyncUploadTimeSliceLa carga asíncrona de la textura proporciona la subida asíncrona de la textura del tiempo segmentado en el hilo de la renderización con control apretado sobre memoria y timelicing. No hay asignaciones excepto las que el controlador tiene que hacer. Para leer los datos y cargar los datos de textura se vuelve a utilizar un ringbuffer cuyo tamaño se puede controlar es re-utilizado.Use asyncUploadTimeSlice to set the time-slice in milliseconds for asynchronous texture uploads per frame. Minimum value is 1 and maximum is 33.
billboardsFaceCameraPositionSi está habilitado, los billboards van a encarar hacia la posición de la cámara en vez de la orientación de la cámara.
desiredColorSpaceEspacio de color deseado (Lectura solamente).
lodBiasMultiplicador global para la distancia de conmutación del LOD.
masterTextureLimitUn límite de tamaño de textura aplicado a todas las texturas.
maximumLODLevelUn nivel LOD máximo. Todos los grupos LOD.
maxQueuedFramesNúmero máximo de frames en la cola por el controlador de gráficos.
namesLa lista indexada de Quality Settings disponibles.
particleRaycastBudgetPresupuesto para cuántos ray casts se pueden realizar por cuadro para pruebas de colisión aproximadas.
pixelLightCountLa cantidad máxima de luces de pixel que debería afectar cualquier objeto.
realtimeReflectionProbesHabilita los reflection probes en tiempo real.
renderPipelineThe RenderPipelineAsset for this quality level
resolutionScalingFixedDPIFactorIn 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.
shadowCascade2SplitLa distribución en cascada normalizada para una configuración de 2 cascadas. El valor define la posición de la cascada con respecto a cero.
shadowCascade4SplitLa posición de inicio en cascada normalizada para una configuración de 4 cascadas. Cada miembro del vector define la posición normalizada de la cascada correspondiente con respecto a cero.
shadowCascadesNúmero de cascadas a usar para sombras de luz direccional.
shadowDistanceDistancia de dibujo de sombras.
shadowmaskModeThe rendering mode of Shadowmask.
shadowNearPlaneOffsetDesfase del frustum de sombra cercano al plano.
shadowProjectionProyección de sombra de luz direccional.
shadowResolutionLa resolución predeterminada de shadow maps.
shadowsRealtime Shadows type to be used.
skinWeightsThe maximum number of bones per vertex that are taken into account during skinning, for all meshes in the project.
softParticlesSi la mezcla suave es utilizada para partículas?
softVegetationUtilice un shader de dos pasadas para la vegetación del motor de terreno.
streamingMipmapsActiveEnable automatic streaming of texture mipmap levels based on their distance from all active cameras.
streamingMipmapsAddAllCamerasProcess all enabled Cameras for texture streaming (rather than just those with StreamingController components).
streamingMipmapsMaxFileIORequestsThe maximum number of active texture file IO requests from the texture streaming system.
streamingMipmapsMaxLevelReductionThe maximum number of mipmap levels to discard for each texture.
streamingMipmapsMemoryBudgetThe total amount of memory to be used by streaming and non-streaming textures.
streamingMipmapsRenderersPerFrameNumber of renderers used to process each frame during the calculation of desired mipmap levels for the associated textures.
vSyncCountEl VSync Count.

Funciones Estáticas

DecreaseLevelDisminuye el nivel de calidad actual.
GetQualityLevelDevuelve el nivel de la calidad de gráficos actual.
GetRenderPipelineAssetAtGet the Render Pipeline Asset assigned at the specified quality level.
IncreaseLevelIncrementar el nivel de calidad actual.
SetQualityLevelDefine un nuevo nivel de calidad de gráficos.

Miembros heredados

Variables

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameEl nombre del objeto.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the object.

Funciones Estáticas

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeGets a list of all loaded objects of Type type.
InstantiateClona el objeto original y devuelve el clon.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961