Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DrawCameraMode

Drawing modes for Handles.DrawCamera.
Read time 2 minutesLast updated 2 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum DrawCameraMode

Fields

Value

Description

AlphaChannelThe camera is set to display the alpha channel of the rendering.
BakedAlbedoDraw objects with the baked albedo component only.
BakedChartingDraw objects with different colors for each baked chart (UV island).
BakedDirectionalityDraw objects with the baked directionality component only.
BakedEmissiveDraw objects with the baked emission component only.
BakedIndicesDraw objects with baked indices only.
BakedLightmapDraw objects with the baked lightmap only.
BakedLightmapCullingDraw objects with visible lightmap texels highlighted.
BakedTexelValidityDraw objects with baked texel validity only.
BakedUVOverlapDraw objects with overlapping lightmap texels highlighted.
ClusteringDraw with different colors for each cluster.
DeferredDiffuseDraw diffuse color of Deferred Shading G-buffer.
DeferredNormalDraw world space normal of Deferred Shading G-buffer.
DeferredSmoothnessDraw smoothness value of Deferred Shading G-buffer.
DeferredSpecularDraw specular color of Deferred Shading G-buffer.
GIContributorsReceiversDraw Mesh Renderers and Terrains in different colors to show their / properties. With default colors:
LightOverlapThe camera is set to show in red static lights that fall back to 'static' because more than four light volumes are overlapping.
LitClusteringDraw lit clusters.
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.
NormalDraw the camera like it would be drawn in-game. This uses the clear flags of the camera.
OverdrawThe camera is set to display Scene overdraw, with brighter colors indicating more overdraw.
RealtimeAlbedoDraw objects with the Enlighten Realtime Global Illumination albedo component only.
RealtimeChartingDraw objects with different colors for each real-time chart (UV island).
RealtimeDirectionalityDraw objects with the Enlighten Realtime Global Illumination directionality component only.
RealtimeEmissiveDraw objects with the Enlighten Realtime Global Illumination emission component only.
RealtimeIndirectDraw objects with the Enlighten Realtime Global Illumination indirect light only.
RenderPathsThe camera is set to draw color coded render paths.
ShadowCascadesThe camera is set to draw directional light shadow map cascades.
ShadowMasksThe camera is set to display colored ShadowMasks, coloring light gizmo with the same color.
SpriteMaskThe camera is set to display SpriteMask and SpriteRenderer with SpriteRenderer.maskInteraction set.
SystemsDraw objects with different color for each GI system.
TexturedDraw the camera textured with selection wireframe and no background clearing.
TexturedWireDraw the camera where all objects have a wireframe overlay. and no background clearing.
TextureStreamingThe camera is set to run in texture streaming debug mode.
UserDefinedA custom mode defined by the user.
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.
WireframeDraw the camera in wireframe and no background clearing.