Package com.jme3.renderer.queue
Enum Class RenderQueue.ShadowMode
- All Implemented Interfaces:
- Serializable,- Comparable<RenderQueue.ShadowMode>,- Constable
- Enclosing class:
- RenderQueue
ShadowMode is a marker used to specify how shadow
 effects should treat the spatial.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionEnable casting of shadows but not receiving them.Enable both receiving and casting of shadows.Inherit theShadowModefrom the parent node.Disable both shadow casting and shadow receiving for this spatial.Enable receiving of shadows but not casting them.
- 
Method SummaryModifier and TypeMethodDescriptionstatic RenderQueue.ShadowModeReturns the enum constant of this class with the specified name.static RenderQueue.ShadowMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
OffDisable both shadow casting and shadow receiving for this spatial. Generally used for special effects like particle emitters.
- 
CastEnable casting of shadows but not receiving them.
- 
ReceiveEnable receiving of shadows but not casting them.
- 
CastAndReceiveEnable both receiving and casting of shadows.
- 
InheritInherit theShadowModefrom the parent node.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-