Class LightModel

java.lang.Object
com.luciad.maps.effects.LightModel
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
DirectionalLightModel, HeadlightModel, SunlightModel

public class LightModel extends Object implements AutoCloseable
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 Details