com.jme.scene.state
Enum CullState.Face

java.lang.Object
  extended by java.lang.Enum<CullState.Face>
      extended by com.jme.scene.state.CullState.Face
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CullState.Face>
Enclosing class:
CullState

public static enum CullState.Face
extends java.lang.Enum<CullState.Face>


Enum Constant Summary
Back
          Cull the back faces.
Front
          Cull the front faces.
FrontAndBack
          Cull both the front and back faces.
None
          Neither front or back face is culled.
 
Method Summary
static CullState.Face valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CullState.Face[] 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

None

public static final CullState.Face None
Neither front or back face is culled. This is default.


Front

public static final CullState.Face Front
Cull the front faces.


Back

public static final CullState.Face Back
Cull the back faces.


FrontAndBack

public static final CullState.Face FrontAndBack
Cull both the front and back faces.

Method Detail

values

public static CullState.Face[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CullState.Face c : CullState.Face.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CullState.Face valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null