PreviewLayer

References
[Flags] public enum PreviewLayer
Enumerates all layers of a material preview thumbnail. This includes both bitmap and geometric layers.

Enum values

NameValueDescription
None0Includes no layers.
ShapeDiffuse1Diffuse colour adjusted for transparency and lighting.
ShapeShine2Highlight effects.
ShapeEmission4Emission effects.
AllShapeLayers7Includes all shape bitmap layers.
ContextColours512Pixel layer which determines the colour of the context at each pixel.
ContextDirect1024Pixel greyscale layer which sets the amount of darkening the context receives from fully opaque preview geometry.
ContextIndirect2048Pixel greyscale layer which sets the amount of brightening the context receives from fully opaque preview geometry.
AllContextLayers3584Includes all shape bitmap layers.
AllBitmapLayers3591Includes all shape and context bitmap layers.
SilhouetteEdges65536Vector layer containing a collection of silhouette edges.
VisibleEdges131072Vector layer containing a collection of visible edges.
HiddenEdges262144Vector layer containing a collection of hidden edges.
AllEdgeLayers458752Includes all edge layers.
All462343Includes all layers.