|
LuciadCPillar C# 2026.1.02
|
Base class for a shading model that determines how an object, such as a mesh or 3D icon, is shaded. More...
Public Member Functions | |
| void | Dispose () |
Base class for a shading model that determines how an object, such as a mesh or 3D icon, is shaded.
The concrete shading models are SimpleShadingModel and PbrShadingModel. When getting a shading model back with MeshStyle.ShadingModel, narrow it to its concrete type to inspect its parameters.
Passing no shading model (null) disables shading altogether: the mesh is painted with its plain albedo (texture or color) and is not affected by the map's light.
|
inline |