|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Spatial.NormalsMode>
com.jme.scene.Spatial.NormalsMode
public static enum Spatial.NormalsMode
Enum Constant Summary | |
---|---|
AlwaysNormalize
Tell the card to normalize any normals data we might give it for this Spatial. |
|
Inherit
Do whatever our parent does. |
|
NormalizeIfScaled
If this Spatial is scaled other than 1,1,1 then tell the card to normalize any normals data we might give it. |
|
Off
Do not send normal data to the card for this Spatial, even if we have some. |
|
UseProvided
Send through the normals currently set as-is. |
Method Summary | |
---|---|
static Spatial.NormalsMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Spatial.NormalsMode[] |
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.NormalsMode Inherit
public static final Spatial.NormalsMode UseProvided
public static final Spatial.NormalsMode AlwaysNormalize
public static final Spatial.NormalsMode NormalizeIfScaled
public static final Spatial.NormalsMode Off
Method Detail |
---|
public static Spatial.NormalsMode[] values()
for (Spatial.NormalsMode c : Spatial.NormalsMode.values()) System.out.println(c);
public static Spatial.NormalsMode 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 |