You can use the Scene view View Options toolbar Overlay to choose various options for viewing the Scene and to enable/disable lighting and audio. These controls only affect the Scene view during development and have no effect on the built game.
The first dropdown menu selects which Draw Mode will be used to depict the Scene. The available options are:
绘制模式 | 功能 | |
---|---|---|
Shading Mode | ||
Shaded | 显示表面时使纹理可见。 | |
Wireframe | 使用线框表示形式绘制网格。 | |
Shaded Wireframe | Show meshes textured and with wireframes overlaid. | |
Miscellaneous | ||
Shadow Cascades | 显示方向光阴影级联。 | |
Render Paths | 使用颜色代码显示每个游戏对象的渲染路径: 蓝色表示延迟着色 绿色表示延迟光照 黄色表示前向渲染 红色表示顶点光照 |
|
Alpha Channel | 以 Alpha 渲染颜色。 | |
Overdraw | 将游戏对象渲染为透明的“轮廓”。透明的颜色会累积,因此可以轻松找到一个对象绘制在另一个对象上的位置。 | |
Mipmaps | Show ideal texture sizes using a color code: Red indicates that the texture is larger than necessary (at the current distance and resolution) Blue indicates that the texture might be larger. The ideal texture sizes depend on the resolution at which your application will run and how close the Camera can get to particular surfaces. |
|
Texture Streaming | Tint GameObjects green, red, or blue, depending on their status in the Texture Streaming system. For more information, see documentation on Texture Streaming debugging. | |
精灵遮罩 (Sprite Mask) | 精灵遮罩用于隐藏或显示精灵或精灵组的各个部分。有关更多信息,请参阅精灵遮罩。 | |
Deferred | 通过这些模式,可以单独查看 G 缓冲区的每个元素(Albedo、Specular、Smoothness 和 Normal)。请参阅有关延迟着色的文档以了解更多信息。 | |
Global Illumination | 可使用以下模式来可视化全局光照系统的各个方面:Systems、Clustering、Lit Clustering、UV Charts 和 Contributors/Receivers。请参阅有关 GI 可视化的文档以了解每种模式。 | |
实时全局光照 | The following modes are available to help visualize aspects of the Enlighten Realtime Global Illumination system: Albedo, Emissive, Indirect, and Directionality. See documentation on GI Visualisations for information about each of these modes. | |
烘焙全局光照 | 可使用以下模式来可视化烘焙全局光照系统的各个方面:Baked Light Map、Directionality、Shadowmask、Albedo、Emissive、UV Charts、Texel Validity、UV Overlap、Baked Lightmap Culling、Lightmap Indices 和 Light Overlap。请参阅有关 GI 可视化的文档以了解每种模式。 | |
Material Validator | 材质验证器 (Material Validator) 有两种模式:Albedo 和 Metal Specular。使用这些模式可以检查基于物理的材质是否使用建议范围内的值。请参阅基于物理的材质验证器以了解更多信息。 |
在 Render Mode 菜单的右侧有三个按钮,用于打开或关闭 Scene 视图的某些选项:
The menu (activated by the icon to the right of the Audio button) has options to enable or disable rendering effects in the Scene view.
The Effects button itself acts as a switch that enables or disables all the selected effects at once.
The Scene visibility switch toggles Scene visibility for GameObjects on and off. When it’s on, Unity applies the Scene visibility settings. When it’s off, Unity ignores them.
如需了解更多信息,请参阅场景可见性文档。
摄像机设置菜单包含用于配置 Scene 视图摄像机的选项。如需了解更多信息,请参阅摄像机设置文档。
The Gizmos menu contains options for how objects, icons, and gizmos are displayed. This menu is available in both the Scene view and the Game view. See documentation on the Gizmos Menu manual page for more information.