|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Spatial.LightCombineMode>
com.jme.scene.Spatial.LightCombineMode
public static enum Spatial.LightCombineMode
Describes how to combine lights from ancestor lightstates when an updateRenderState is called on a Spatial.
Enum Constant Summary | |
---|---|
CombineClosest
Combine lights starting from the given Spatial and working up towards the root. |
|
CombineClosestEnabled
Similar to CombineClosest, but if a disabled state is encountered, it will stop combining at that point. |
|
CombineFirst
Combine lights starting from the root node and working towards the given Spatial. |
|
Inherit
Inherit mode from parent. |
|
Off
When updating render states, turn off lighting for this spatial. |
|
Replace
Do not combine lights, just use the most recent light state. |
Method Summary | |
---|---|
static Spatial.LightCombineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Spatial.LightCombineMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Spatial.LightCombineMode Off
public static final Spatial.LightCombineMode CombineFirst
public static final Spatial.LightCombineMode CombineClosest
public static final Spatial.LightCombineMode CombineClosestEnabled
public static final Spatial.LightCombineMode Inherit
public static final Spatial.LightCombineMode Replace
Method Detail |
---|
public static Spatial.LightCombineMode[] values()
for (Spatial.LightCombineMode c : Spatial.LightCombineMode.values()) System.out.println(c);
public static Spatial.LightCombineMode 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |