public static enum Spatial.BatchHint extends java.lang.Enum<Spatial.BatchHint>
Enum Constant and Description |
---|
Always
This spatial will always be batched when attached to a BatchNode.
|
Inherit
Do whatever our parent does.
|
Never
This spatial will never be batched when attached to a BatchNode.
|
Modifier and Type | Method and Description |
---|---|
static Spatial.BatchHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Spatial.BatchHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Spatial.BatchHint Inherit
Always
.public static final Spatial.BatchHint Always
public static final Spatial.BatchHint Never
public static Spatial.BatchHint[] values()
for (Spatial.BatchHint c : Spatial.BatchHint.values()) System.out.println(c);
public static Spatial.BatchHint 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