RenderSettings

class in UnityEngine

/

Inherits from:Object

Switch to Manual

Description

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

请注意,每个场景都有对应的渲染设置。

Static Variables

ambientEquatorColor来自侧面的环境光照。
ambientGroundColor来自下方的环境光照。
ambientIntensityHow much the light from the Ambient Source affects the Scene.
ambientLight平面环境光照颜色。
ambientMode环境光照模式。
ambientProbe自定义或天空盒环境光照数据。
ambientSkyColor来自上方的环境光照。
customReflection自定义镜面反射立方体贴图。
defaultReflectionMode默认反射模式。
defaultReflectionResolution默认反射的立方体贴图分辨率。
flareFadeSpeedThe fade speed of all flares in the Scene.
flareStrengthThe intensity of all flares in the Scene.
fog是否启用了雾效?
fogColor雾效颜色。
fogDensity指数雾效的强度。
fogEndDistance线性雾效的结束距离。
fogMode要使用的雾效式。
fogStartDistance线性雾效的开始距离。
haloStrength Light 光环的大小。
reflectionBounces反射包含其他反射的次数。
reflectionIntensityHow much the skybox / custom cubemap reflection affects the Scene.
skybox要使用的全局天空盒。
subtractiveShadowColorSubtractive 光照模式下太阳阴影使用的颜色。
sun程序化天空盒使用的光照。

Inherited members

Variables

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
name对象的名称。

Public Functions

GetInstanceID返回对象的实例 ID。
ToString返回 GameObject 的名称。

Static Functions

Destroy删除 GameObject、组件或资源。
DestroyImmediate立即销毁对象 /obj/。强烈建议您改用 Destroy。
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfType返回第一个类型为 type 的已加载的激活对象。
FindObjectsOfType返回所有类型为 type 的已加载的激活对象的列表。
Instantiate克隆 original 对象并返回克隆对象。

Operators

bool该对象是否存在?
operator !=比较两个对象是否引用不同的对象。
operator ==比较两个对象引用,判断它们是否引用同一个对象。