Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DrawCameraMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Drawing modes for Handles.DrawCamera.

Variables

NormalDraw the camera like it would be drawn in-game. This uses the clear flags of the camera.
TexturedDraw the camera textured with selection wireframe and no background clearing.
WireframeDraw the camera in wireframe and no background clearing.
TexturedWireDraw the camera where all objects have a wireframe overlay. and no background clearing.
ShadowCascadesDraw directional light shadowmap cascades.
RenderPathsDraw color-coded render paths.
AlphaChannelDisplay alpha channel of the rendering.
OverdrawDisplay scene overdraw, with brighter colors indicating more overdraw.
MipmapsDisplay texture resolution, with red tint indicating too high resolution, and blue tint indicating texture sizes that could be higher.
DeferredDiffuseDraw diffuse color of Deferred Shading g-buffer.
DeferredSpecularDraw specular color of Deferred Shading g-buffer.
DeferredSmoothnessDraw smoothness value of Deferred Shading g-buffer.
DeferredNormalDraw world space normal of Deferred Shading g-buffer.
ChartingDraw objects with different color for each chart (UV island).
SystemsDraw objects with different color for each GI system.
AlbedoDraw objects with the albedo component only.
EmissiveDraw objects with the emission component only.
IrradianceDraw objects with real-time GI only.
DirectionalityDraw objects with directionality for real-time GI.
BakedDraw objects with baked GI only.
ClusteringDraw with different color for each cluster.
LitClusteringDraw lit clusters.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961