Enum Class Sphere.TextureMode

java.lang.Object
java.lang.Enum<Sphere.TextureMode>
com.jme3.scene.shape.Sphere.TextureMode
All Implemented Interfaces:
Serializable, Comparable<Sphere.TextureMode>, Constable
Enclosing class:
Sphere

public static enum Sphere.TextureMode extends Enum<Sphere.TextureMode>
  • Enum Constant Details Link icon

    • Original Link icon

      public static final Sphere.TextureMode Original
      Wrap texture radially and along z-axis
    • Projected Link icon

      public static final Sphere.TextureMode Projected
      Wrap texture radially, but spherically project along z-axis
    • Polar Link icon

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

    • values Link icon

      public static Sphere.TextureMode[] 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 Link icon

      public static Sphere.TextureMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null