Package com.luciad.layers.styles
Enum Class OcclusionMode
- All Implemented Interfaces:
Serializable
,Comparable<OcclusionMode>
,Constable
An enumeration describing when an object should be painted in 3D in relation to other 3D data.
See FeatureCanvas.IconDrawCommand#occlusionMode
, FeatureCanvas.TextDrawCommand#occlusionMode
and FeatureCanvas.GeometryDrawCommand#occlusionMode
for details and limitations.
Note that when the occlusion mode is not OcclusionMode#VisibleOnly
, features won't be queryable.
- Since:
- 2024.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionShow the entire shape even if behind other 3D data.Shows only the part of the shape that is behind other 3D data.Show only the part of a shape that is not obscured by other 3D data. -
Method Summary
Modifier and TypeMethodDescriptionstatic OcclusionMode
Returns the enum constant of this class with the specified name.static OcclusionMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VisibleOnly
Show only the part of a shape that is not obscured by other 3D data.This is the default.
-
AlwaysVisible
Show the entire shape even if behind other 3D data.The shape appears in front of other objects.
-
OccludedOnly
Shows only the part of the shape that is behind other 3D data.You typically use this to display obscured shapes in combination with another style that uses
OcclusionMode#VisibleOnly
mode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-