Class GraphicsEffects

java.lang.Object
com.luciad.maps.effects.GraphicsEffects
All Implemented Interfaces:
AutoCloseable

public final class GraphicsEffects extends Object implements 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 Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getEyeDomeLighting

      @NotNull public EyeDomeLightingEffect 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

      @NotNull public AmbientOcclusionEffect 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

      @NotNull public AtmosphereEffect 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

      @NotNull public EnvironmentMapEffect 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

      @NotNull public FogEffect 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

      @NotNull public DepthOfFieldEffect 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

      @NotNull public LightEffect 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 LightEffect to change the light or to disable it with LightEffect#setEnabled.

      Returns:
      the light effect that is used.
      Since:
      2026.1, 2026.1
    • getBloom

      @NotNull public BloomEffect getBloom()
      Returns the bloom effect that is used.
      Returns:
      the bloom effect that is used.
      Since:
      2026.1, 2026.1