Class ViewMode
Describes frame rendering modes.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class ViewMode : Enum
Fields
AmbientOcclusion
Shows materials ambient occlusion value.
Declaration
public const ViewMode AmbientOcclusion
Field Value
|
ViewMode
|
Default
Shows the final result of the scene with all materials, lighting and post-processing applied.
Declaration
public const ViewMode Default
Field Value
|
ViewMode
|
Depth
Shows the gradient based on pixels depth from camera (black to white).
Declaration
public const ViewMode Depth
Field Value
|
ViewMode
|
Diffuse
Emissive
GlobalIllumination
Shows Global Illumination debug preview (eg. irradiance probes).
Declaration
public const ViewMode GlobalIllumination
Field Value
|
ViewMode
|
GlobalSDF
Shows Global Sign Distant Field (SDF) preview.
Declaration
public const ViewMode GlobalSDF
Field Value
|
ViewMode
|
GlobalSDFOverdraw
Shows Global Sign Distant Field (SDF) overdraw to visualize performance of SDF tracing.
Declaration
public const ViewMode GlobalSDFOverdraw
Field Value
|
ViewMode
|
GlobalSurfaceAtlas
Shows Global Surface Atlas preview.
Declaration
public const ViewMode GlobalSurfaceAtlas
Field Value
|
ViewMode
|
LightBuffer
Shows diffuse lighting as if all materials were white.
Declaration
public const ViewMode LightBuffer
Field Value
|
ViewMode
|
Lighting
Shows lighting without diffuse color from materials to inspect both diffuse and specular light contributions.
Declaration
public const ViewMode Lighting
Field Value
|
ViewMode
|
LightmapUVsDensity
Shows the lightmap density of objects. Color coding is used to display density with a grid that maps to the actual lightmap texels.
Declaration
public const ViewMode LightmapUVsDensity
Field Value
|
ViewMode
|
LightOverlap
Shows local light volumes overlaps complexity to visualize how many lights affect each pixel (for performance optimization).
Declaration
public const ViewMode LightOverlap
Field Value
|
ViewMode
|
LODPreview
Shows objects Level Of Detail as colors to debug LOD switches.
Declaration
public const ViewMode LODPreview
Field Value
|
ViewMode
|
MaterialComplexity
Shows material shaders complexity to visualize performance of pixels rendering.
Declaration
public const ViewMode MaterialComplexity
Field Value
|
ViewMode
|
Metalness
MotionVectors
Shows motion of pixels in a screen-space (color based on direction). Static surfaces are rendered in grayscale, while dynamic objects are rendered on top with colors.
Declaration
public const ViewMode MotionVectors
Field Value
|
ViewMode
|
NoPostFx
Shows the scene with materials and lighting applied but without any post-processing.
Declaration
public const ViewMode NoPostFx
Field Value
|
ViewMode
|
Normals
PhysicsColliders
Shows physics collider meshes. Dynamic and kinematic objects use coloring to distinguish them from the static environment.
Declaration
public const ViewMode PhysicsColliders
Field Value
|
ViewMode
|
QuadOverdraw
Shows geometry overdraw to visualize performance of pixels rendering.
Declaration
public const ViewMode QuadOverdraw
Field Value
|
ViewMode
|
Reflections
Shows specular reflections lighting as if all materials were metal.
Declaration
public const ViewMode Reflections
Field Value
|
ViewMode
|
Roughness
ShadingModel
Shows materials Shading Model type.
Declaration
public const ViewMode ShadingModel
Field Value
|
ViewMode
|
Specular
SpecularColor
Shows materials specular color.
Declaration
public const ViewMode SpecularColor
Field Value
|
ViewMode
|
SubsurfaceColor
Draw materials subsurface color debug view
Declaration
public const ViewMode SubsurfaceColor
Field Value
|
ViewMode
|
Unlit
Shows the material colors with ambient occlusion.
Declaration
public const ViewMode Unlit
Field Value
|
ViewMode
|
value__
Declaration
public int value__
Field Value
|
System.Int32
|
VertexColors
Shows the mesh vertex colors. It can be used to debug vertex color painting on meshes.
Declaration
public const ViewMode VertexColors
Field Value
|
ViewMode
|
Wireframe
Shows all polygon edges over the scene. Occluded edge pixels are darker and semi-transparent. Available only in non-Release builds and Editor.
Declaration
public const ViewMode Wireframe
Field Value
|
ViewMode
|