public enum OcclusionMode extends Enum<OcclusionMode>
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.
Enum Constant and Description |
---|
AlwaysVisible
Show the entire shape even if behind other 3D data.
|
OccludedOnly
Shows only the part of the shape that is behind other 3D data.
|
VisibleOnly
Show only the part of a shape that is not obscured by other 3D data.
|
Modifier and Type | Method and Description |
---|---|
static OcclusionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OcclusionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OcclusionMode VisibleOnly
This is the default.
public static final OcclusionMode AlwaysVisible
The shape appears in front of other objects.
public static final OcclusionMode OccludedOnly
You typically use this to display obscured shapes in combination with another style that uses OcclusionMode#VisibleOnly
mode.
public static OcclusionMode[] values()
for (OcclusionMode c : OcclusionMode.values()) System.out.println(c);
public static OcclusionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null