public static enum RenderQueue.ShadowMode extends java.lang.Enum<RenderQueue.ShadowMode>
ShadowMode
is a marker used to specify how shadow
effects should treat the spatial.Enum Constant and Description |
---|
Cast
Enable casting of shadows but not receiving them.
|
CastAndReceive
Enable both receiving and casting of shadows.
|
Inherit
Inherit the
ShadowMode from the parent node. |
Off
Disable both shadow casting and shadow receiving for this spatial.
|
Receive
Enable receiving of shadows but not casting them.
|
Modifier and Type | Method and Description |
---|---|
static RenderQueue.ShadowMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderQueue.ShadowMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderQueue.ShadowMode Off
public static final RenderQueue.ShadowMode Cast
public static final RenderQueue.ShadowMode Receive
public static final RenderQueue.ShadowMode CastAndReceive
public static final RenderQueue.ShadowMode Inherit
ShadowMode
from the parent node.public static RenderQueue.ShadowMode[] values()
for (RenderQueue.ShadowMode c : RenderQueue.ShadowMode.values()) System.out.println(c);
public static RenderQueue.ShadowMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null