Enum Class ComplexSpatialController.RepeatType

java.lang.Object
java.lang.Enum<ComplexSpatialController.RepeatType>
com.ardor3d.scenegraph.controller.ComplexSpatialController.RepeatType
All Implemented Interfaces:
Serializable, Comparable<ComplexSpatialController.RepeatType>, Constable
Enclosing class:
ComplexSpatialController<T extends Spatial>

public static enum ComplexSpatialController.RepeatType extends Enum<ComplexSpatialController.RepeatType>
  • Enum Constant Details

    • CLAMP

      public static final ComplexSpatialController.RepeatType CLAMP
      A clamped repeat type signals that the controller should look like its final state when it's done
      Example: 0 1 5 8 9 10 10 10 10 10 10 10 10 10 10 10...
    • WRAP

      public static final ComplexSpatialController.RepeatType WRAP
      A wrapped repeat type signals that the controller should start back at the begining when it's final state is reached
      Example: 0 1 5 8 9 10 0 1 5 8 9 10 0 1 5 ....
    • CYCLE

      public static final ComplexSpatialController.RepeatType CYCLE
      A cycled repeat type signals that the controller should cycle it's states forwards and backwards
      Example: 0 1 5 8 9 10 9 8 5 1 0 1 5 8 9 10 9 ....
  • Method Details

    • values

      public static ComplexSpatialController.RepeatType[] 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

      public static ComplexSpatialController.RepeatType 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