Enum Class RenderQueue.ShadowMode

All Implemented Interfaces:
Serializable, Comparable<RenderQueue.ShadowMode>, Constable
Enclosing class:

public static enum RenderQueue.ShadowMode extends Enum<RenderQueue.ShadowMode>
ShadowMode is a marker used to specify how shadow effects should treat the spatial.
  • Enum Constant Details

    • Off

      public static final RenderQueue.ShadowMode Off
      Disable both shadow casting and shadow receiving for this spatial. Generally used for special effects like particle emitters.
    • Cast

      public static final RenderQueue.ShadowMode Cast
      Enable casting of shadows but not receiving them.
    • Receive

      public static final RenderQueue.ShadowMode Receive
      Enable receiving of shadows but not casting them.
    • CastAndReceive

      public static final RenderQueue.ShadowMode CastAndReceive
      Enable both receiving and casting of shadows.
    • Inherit

      public static final RenderQueue.ShadowMode Inherit
      Inherit the ShadowMode from the parent node.
  • Method Details

    • values

      public static RenderQueue.ShadowMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RenderQueue.ShadowMode 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null