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 Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnable casting of shadows but not receiving them.Enable both receiving and casting of shadows.Inherit theShadowMode
from the parent node.Disable both shadow casting and shadow receiving for this spatial.Enable receiving of shadows but not casting them. -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderQueue.ShadowMode
Returns 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
-
Off
Disable both shadow casting and shadow receiving for this spatial. Generally used for special effects like particle emitters. -
Cast
Enable casting of shadows but not receiving them. -
Receive
Enable receiving of shadows but not casting them. -
CastAndReceive
Enable both receiving and casting of shadows. -
Inherit
Inherit theShadowMode
from the parent node.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-