Enum Class LightingMode

java.lang.Object
java.lang.Enum<LightingMode>
com.esri.arcgisruntime.mapping.view.LightingMode
All Implemented Interfaces:
Serializable, Comparable<LightingMode>, Constable

public enum LightingMode extends Enum<LightingMode>
Defines the Sun lighting mode associated with the SceneView.
Since:
100.0.0
  • Enum Constant Details

    • NO_LIGHT

      public static final LightingMode NO_LIGHT
      No lighting is applied.
      Since:
      100.0.0
    • LIGHT

      public static final LightingMode LIGHT
      Light from the Sun is applied but shadows from terrain and 3D models are not cast.
      Since:
      100.0.0
    • LIGHT_AND_SHADOWS

      public static final LightingMode LIGHT_AND_SHADOWS
      Light from the Sun is applied and shadows from terrain and 3D models are cast.
      Since:
      100.0.0
  • Method Details

    • values

      public static LightingMode[] 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

      public static LightingMode 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