Package com.luciad.maps.effects
Class LightModel
java.lang.Object
com.luciad.maps.effects.LightModel
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
DirectionalLightModel,HeadlightModel,SunlightModel
Base class for the light that
LightEffect uses to shade a map in 3D.
This is a closed hierarchy: the concrete lights are HeadlightModel, DirectionalLightModel and SunlightModel. Applications cannot define their own light. Read the active light with LightEffect#getModel and narrow it to its concrete type to inspect its parameters. Disable lighting with LightEffect#setEnabled.
- Since:
- 2026.1
-
Method Summary
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-