LuciadCPillar 2026.1
Loading...
Searching...
No Matches
luciad::ShadingModel Class Reference

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>

Inheritance diagram for luciad::ShadingModel:
luciad::PbrShadingModel luciad::SimpleShadingModel

Public Member Functions

 ShadingModel (const ShadingModel &)=delete
virtual ~ShadingModel ()=default
ShadingModeloperator= (const ShadingModel &)=delete

Protected Member Functions

 ShadingModel ()=default
 Default constructor.

Detailed Description

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

Constructor & Destructor Documentation

◆ ~ShadingModel()

virtual luciad::ShadingModel::~ShadingModel ( )
virtualdefault

◆ ShadingModel() [1/2]

luciad::ShadingModel::ShadingModel ( const ShadingModel & )
delete

◆ 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.

Member Function Documentation

◆ operator=()

ShadingModel & luciad::ShadingModel::operator= ( const ShadingModel & )
delete