Enum Class OcclusionMode

java.lang.Object
java.lang.Enum<OcclusionMode>
com.luciad.layers.styles.OcclusionMode
All Implemented Interfaces:
Serializable, Comparable<OcclusionMode>, Constable

public enum OcclusionMode extends Enum<OcclusionMode>
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
  • Enum Constant Details Link icon

    • VisibleOnly Link icon

      public static final OcclusionMode VisibleOnly
      Show only the part of a shape that is not obscured by other 3D data.

      This is the default.

    • AlwaysVisible Link icon

      public static final OcclusionMode AlwaysVisible
      Show the entire shape even if behind other 3D data.

      The shape appears in front of other objects.

    • OccludedOnly Link icon

      public static final OcclusionMode 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 Link icon

    • values Link icon

      public static OcclusionMode[] 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 Link icon

      public static OcclusionMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null