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.

Properties

UserDefinedA custom mode defined by the user.
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.
ShadowCascadesThe camera is set to draw directional light shadow map cascades.
RenderPathsThe camera is set to draw color coded render paths.
AlphaChannelThe camera is set to display the alpha channel of the rendering.
OverdrawThe camera is set to display Scene overdraw, with brighter colors indicating more overdraw.
MipmapsThe camera is set to display the texture resolution, with a red tint indicating resolution that is too high, and a 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.
RealtimeChartingDraw objects with different colors for each real-time chart (UV island).
SystemsDraw objects with different color for each GI system.
RealtimeAlbedoDraw objects with the real-time GI albedo component only.
RealtimeEmissiveDraw objects with the real-time GI emission component only.
RealtimeIndirectDraw objects with the real-time GI indirect light only.
RealtimeDirectionalityDraw objects with the real-time GI directionality component only.
BakedLightmapDraw objects with the baked lightmap only.
ClusteringDraw with different colors for each cluster.
LitClusteringDraw lit clusters.
ValidateAlbedoThe camera is set to draw a physically based, albedo validated rendering.
ValidateMetalSpecularThe camera is set to draw a physically based, metal or specular validated rendering.
ShadowMasksThe camera is set to display colored ShadowMasks, coloring light gizmo with the same color.
LightOverlapThe camera is set to show in red static lights that fall back to 'static' because more than four light volumes are overlapping.
BakedAlbedoDraw objects with the baked albedo component only.
BakedEmissiveDraw objects with the baked emission component only.
BakedDirectionalityDraw objects with the baked directionality component only.
BakedTexelValidityDraw objects with baked texel validity only.
BakedIndicesDraw objects with baked indices only.
BakedChartingDraw objects with different colors for each baked chart (UV island).
SpriteMaskThe camera is set to display SpriteMask and SpriteRenderer with SpriteRenderer.maskInteraction set.
BakedUVOverlapDraw objects with overlapping lightmap texels highlighted.
TextureStreamingThe camera is set to run in texture streaming debug mode.
BakedLightmapCullingDraw objects with visible lightmap texels highlighted.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答