RenderSettings

class in UnityEngine

/

Hereda de:Object

Cambiar al Manual

Descripción

The Render Settings contain values for a range of visual elements in your Scene, like fog and ambient light.

Note that render settings are per-scene.

Variables Estáticas

ambientEquatorColorAmbient lighting coming from the sides.
ambientGroundColorAmbient lighting coming from below.
ambientIntensityHow much the light from the Ambient Source affects the Scene.
ambientLightFlat ambient lighting color.
ambientModeAmbient lighting mode.
ambientProbeCustom or skybox ambient lighting data.
ambientSkyColorAmbient lighting coming from above.
customReflectionCustom specular reflection cubemap.
defaultReflectionModeDefault reflection mode.
defaultReflectionResolutionCubemap resolution for default reflection.
flareFadeSpeedThe fade speed of all flares in the Scene.
flareStrengthThe intensity of all flares in the Scene.
fogIs fog enabled?
fogColorEl color de la niebla.
fogDensityThe density of the exponential fog.
fogEndDistanceThe ending distance of linear fog.
fogModeEl modo de niebla a usar.
fogStartDistanceThe starting distance of linear fog.
haloStrengthSize of the Light halos.
reflectionBouncesThe number of times a reflection includes other reflections.
reflectionIntensityHow much the skybox / custom cubemap reflection affects the Scene.
skyboxThe global skybox to use.
subtractiveShadowColorThe color used for the sun shadows in the Subtractive lightmode.
sunThe light used by the procedural skybox.

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 GameObject.

Funciones Estáticas

DestroyElimina un gameobject, componente o 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.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo 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.