Package com.luciad.layers.styles
Class ShadingModel
java.lang.Object
com.luciad.layers.styles.ShadingModel
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
PbrShadingModel,SimpleShadingModel
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#getShadingModel, 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.
- Since:
- 2026.1
-
Method Summary
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-