com.jme.scene.state
Enum CullState.PolygonWind

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

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


Enum Constant Summary
ClockWise
          Polygons whose vertices are specified in CW order are front facing.
CounterClockWise
          Polygons whose vertices are specified in CCW order are front facing.
 
Method Summary
static CullState.PolygonWind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CullState.PolygonWind[] 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

CounterClockWise

public static final CullState.PolygonWind CounterClockWise
Polygons whose vertices are specified in CCW order are front facing. This is default.


ClockWise

public static final CullState.PolygonWind ClockWise
Polygons whose vertices are specified in CW order are front facing.

Method Detail

values

public static CullState.PolygonWind[] 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.PolygonWind c : CullState.PolygonWind.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.PolygonWind 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