com.jme3.material
Enum RenderState.FaceCullMode

java.lang.Object
  extended by java.lang.Enum<RenderState.FaceCullMode>
      extended by com.jme3.material.RenderState.FaceCullMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RenderState.FaceCullMode>
Enclosing class:
RenderState

public static enum RenderState.FaceCullMode
extends java.lang.Enum<RenderState.FaceCullMode>

FaceCullMode specifies the criteria for faces to be culled.

See Also:
RenderState.setFaceCullMode(com.jme3.material.RenderState.FaceCullMode)

Enum Constant Summary
Back
          Cull back faces
Front
          Cull front faces
FrontAndBack
          Cull both front and back faces.
Off
          Face culling is disabled.
 
Method Summary
static RenderState.FaceCullMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RenderState.FaceCullMode[] 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

Off

public static final RenderState.FaceCullMode Off
Face culling is disabled.


Front

public static final RenderState.FaceCullMode Front
Cull front faces


Back

public static final RenderState.FaceCullMode Back
Cull back faces


FrontAndBack

public static final RenderState.FaceCullMode FrontAndBack
Cull both front and back faces.

Method Detail

values

public static RenderState.FaceCullMode[] 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 (RenderState.FaceCullMode c : RenderState.FaceCullMode.values())
    System.out.println(c);

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

valueOf

public static RenderState.FaceCullMode 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