Base class for a shading model that determines how an object, such as a mesh or 3D icon, is shaded.
More...
#include <luciad/layers/styles/ShadingModel.h>
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 luciad::SimpleShadingModel and luciad::PbrShadingModel. When getting a shading model back with MeshStyle::getShadingModel, narrow it to its concrete type to inspect its parameters.
Passing no shading model (nullptr) disables shading altogether: the mesh is painted with its plain albedo (texture or color) and is not affected by the map's light.
- Since
- 2026.1
◆ ~ShadingModel()
| virtual luciad::ShadingModel::~ShadingModel |
( |
| ) |
|
|
virtualdefault |
◆ ShadingModel() [1/2]
◆ ShadingModel() [2/2]
| luciad::ShadingModel::ShadingModel |
( |
| ) |
|
|
protecteddefault |
Default constructor.
It is not the intent to extend from this class or to instantiate it directly, so this constructor must not be used.
◆ operator=()