Package com.luciad.maps.effects
Class GraphicsEffects
java.lang.Object
com.luciad.maps.effects.GraphicsEffects
- All Implemented Interfaces:
AutoCloseable
This class contains the graphics effects that can be applied to a map.
You cannot create a GraphicsEffects. Instead, you can retrieve it from Map#getEffects and assign properties.
Available effects are:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()Returns the ambient occlusion effect that is used.Returns the atmosphere effect that is used.getBloom()Returns the bloom effect that is used.Returns the depth-of-field effect that is used.Returns the environment map effect that is used.Returns the eye-dome lighting effect that is used.getFog()Returns the fog effect that is used.getLight()Returns the light effect that is used.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getEyeDomeLighting
Returns the eye-dome lighting effect that is used.Note that eye-dome lighting is only applied in 3D views.
- Returns:
- the eye-dome lighting effect that is used.
-
getAmbientOcclusion
Returns the ambient occlusion effect that is used.Note that ambient occlusion is only applied in 3D views.
- Returns:
- the ambient occlusion effect that is used.
-
getAtmosphere
Returns the atmosphere effect that is used.Note that the atmosphere is only applied in 3D views.
- Returns:
- the atmosphere effect that is used.
- Since:
- 2023.1, 2023.1
-
getEnvironmentMap
Returns the environment map effect that is used.Note that the environment map is only applied in 3D views.
- Returns:
- the environment map effect that is used.
- Since:
- 2026.1, 2026.1
-
getFog
Returns the fog effect that is used.Note that fog is only applied in 3D views.
- Returns:
- the fog effect that is used.
- Since:
- 2026.1, 2026.1
-
getDepthOfField
Returns the depth-of-field effect that is used.Note that depth of field is only applied in 3D views.
- Returns:
- the depth-of-field effect that is used.
- Since:
- 2026.1, 2026.1
-
getLight
Returns the light effect that is used.By default, a map is lit with a headlight, meaning 3D content is shaded even when no light is configured. Use the returned
LightEffectto change the light or to disable it withLightEffect#setEnabled.- Returns:
- the light effect that is used.
- Since:
- 2026.1, 2026.1
-
getBloom
Returns the bloom effect that is used.- Returns:
- the bloom effect that is used.
- Since:
- 2026.1, 2026.1
-