Package com.luciad.maps.effects
Class EnvironmentMapModel
java.lang.Object
com.luciad.maps.effects.EnvironmentMapModel
- All Implemented Interfaces:
AutoCloseable
Immutable set of parameters that describe the
EnvironmentMapEffect: the environment imagery wrapped around a 3D scene, in two independent roles.
This environment-map model has 2 parameters:
- the skybox is background imagery seen in all directions. A
nullvalue means no skybox. - the reflection map is the environment that physically based rendering (PBR) objects reflect and are lit by. The default is a neutral gray map, so PBR content is lit out of the box. A
nullvalue removes the image-based lighting.
Create one with EnvironmentMapModel#newBuilder, or start from an existing model with asBuilder, and apply it with EnvironmentMapEffect#setModel.
- Since:
- 2026.1
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCreates a builder pre-filled with this model's parameters.voidclose()booleanprotected voidfinalize()Returns the reflection map, ornullwhen image-based lighting is disabled.Returns the skybox, ornullwhen no skybox is set.inthashCode()static EnvironmentMapModel.BuilderCreates a new builder with the default environment-map parameters.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
newBuilder
Creates a new builder with the default environment-map parameters.- Returns:
- a new builder.
-
asBuilder
Creates a builder pre-filled with this model's parameters.- Returns:
- a builder pre-filled with this model's parameters.
-
getSkybox
Returns the skybox, ornullwhen no skybox is set.- Returns:
- the skybox, or
nullwhen no skybox is set.
-
getReflectionMap
Returns the reflection map, ornullwhen image-based lighting is disabled.- Returns:
- the reflection map, or
nullwhen image-based lighting is disabled.
-
hashCode
public int hashCode() -
equals
-