com.jme.scene.shape
Enum Sphere.TextureMode

java.lang.Object
  extended by java.lang.Enum<Sphere.TextureMode>
      extended by com.jme.scene.shape.Sphere.TextureMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Sphere.TextureMode>
Enclosing class:
Sphere

public static enum Sphere.TextureMode
extends java.lang.Enum<Sphere.TextureMode>


Enum Constant Summary
Original
          Wrap texture radially and along z-axis
Polar
          Apply texture to each pole.
Projected
          Wrap texure radially, but spherically project along z-axis
 
Method Summary
static Sphere.TextureMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Sphere.TextureMode[] 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

Original

public static final Sphere.TextureMode Original
Wrap texture radially and along z-axis


Projected

public static final Sphere.TextureMode Projected
Wrap texure radially, but spherically project along z-axis


Polar

public static final Sphere.TextureMode Polar
Apply texture to each pole. Eliminates polar distortion, but mirrors the texture across the equator

Method Detail

values

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

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

valueOf

public static Sphere.TextureMode 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