The Render Settings contain values for a range of visual elements in your Scene, like fog and ambient light.
请注意,每个场景都有对应的渲染设置。
ambientEquatorColor | 来自侧面的环境光照。 |
ambientGroundColor | 来自下方的环境光照。 |
ambientIntensity | How much the light from the Ambient Source affects the Scene. |
ambientLight | 平面环境光照颜色。 |
ambientMode | 环境光照模式。 |
ambientProbe | 自定义或天空盒环境光照数据。 |
ambientSkyColor | 来自上方的环境光照。 |
customReflection | 自定义镜面反射立方体贴图。 |
defaultReflectionMode | 默认反射模式。 |
defaultReflectionResolution | 默认反射的立方体贴图分辨率。 |
flareFadeSpeed | The fade speed of all flares in the Scene. |
flareStrength | The intensity of all flares in the Scene. |
fog | 是否启用了雾效? |
fogColor | 雾效颜色。 |
fogDensity | 指数雾效的强度。 |
fogEndDistance | 线性雾效的结束距离。 |
fogMode | 要使用的雾效式。 |
fogStartDistance | 线性雾效的开始距离。 |
haloStrength | Light 光环的大小。 |
reflectionBounces | 反射包含其他反射的次数。 |
reflectionIntensity | How much the skybox / custom cubemap reflection affects the Scene. |
skybox | 要使用的全局天空盒。 |
subtractiveShadowColor | Subtractive 光照模式下太阳阴影使用的颜色。 |
sun | 程序化天空盒使用的光照。 |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | 对象的名称。 |
GetInstanceID | 返回对象的实例 ID。 |
ToString | 返回 GameObject 的名称。 |
Destroy | 删除 GameObject、组件或资源。 |
DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 |
FindObjectsOfType | 返回所有类型为 type 的已加载的激活对象的列表。 |
Instantiate | 克隆 original 对象并返回克隆对象。 |
bool | 该对象是否存在? |
operator != | 比较两个对象是否引用不同的对象。 |
operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |