Package com.ardor3d.scenegraph.hint
Enum Class NormalsMode
- All Implemented Interfaces:
Serializable
,Comparable<NormalsMode>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTell the card to normalize any normals data we might give it.Do whatever our parent does.If a scale other than 1,1,1 is being used then tell the card to normalize any normals data we might give it.Do not send normal data to the card, even if we have some.Send through the normals currently set as-is. -
Method Summary
Modifier and TypeMethodDescriptionstatic NormalsMode
Returns the enum constant of this class with the specified name.static NormalsMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Inherit
Do whatever our parent does. If no parent, we'll default to NormalizeIfScaled. -
UseProvided
Send through the normals currently set as-is. -
AlwaysNormalize
Tell the card to normalize any normals data we might give it. -
NormalizeIfScaled
If a scale other than 1,1,1 is being used then tell the card to normalize any normals data we might give it. -
Off
Do not send normal data to the card, even if we have some.
-
-
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
-