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

hideFlags¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario?
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.
DontDestroyOnLoadHace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena.
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.