PreviewLayer
ReferencesEnumerates all layers of a material preview thumbnail. This includes both bitmap and geometric layers.
Enum values
| Name | Value | Description |
|---|---|---|
| None | 0 | Includes no layers. |
| ShapeDiffuse | 1 | Diffuse colour adjusted for transparency and lighting. |
| ShapeShine | 2 | Highlight effects. |
| ShapeEmission | 4 | Emission effects. |
| AllShapeLayers | 7 | Includes all shape bitmap layers. |
| ContextColours | 512 | Pixel layer which determines the colour of the context at each pixel. |
| ContextDirect | 1024 | Pixel greyscale layer which sets the amount of darkening the context receives from fully opaque preview geometry. |
| ContextIndirect | 2048 | Pixel greyscale layer which sets the amount of brightening the context receives from fully opaque preview geometry. |
| AllContextLayers | 3584 | Includes all shape bitmap layers. |
| AllBitmapLayers | 3591 | Includes all shape and context bitmap layers. |
| SilhouetteEdges | 65536 | Vector layer containing a collection of silhouette edges. |
| VisibleEdges | 131072 | Vector layer containing a collection of visible edges. |
| AllEdgeLayers | 458752 | Includes all edge layers. |
| All | 462343 | Includes all layers. |