Enum Class DeformerType

java.lang.Object
java.lang.Enum<DeformerType>
dev.turboism.sdk.cubism.DeformerType
All Implemented Interfaces:
Serializable, Comparable<DeformerType>, Constable

public enum DeformerType extends Enum<DeformerType>
Kind of deformer node reported by the Cubism host.

OTHER is the deliberate catch-all: the SDK admits only Cubism 5.2.03 and 5.3.02, and any deformer kind outside the enumerated set is mapped to OTHER rather than rejected, so an unfamiliar host object never fails a whole snapshot.

  • Enum Constant Details

    • ROOT

      public static final DeformerType ROOT
      Synthetic root of the deformer tree; not a deformer the user can edit.
    • WARP

      public static final DeformerType WARP
      Warp deformer, which distorts geometry through a control-point grid.
    • ROTATION

      public static final DeformerType ROTATION
      Rotation deformer, which pivots its children about an origin.
    • TRANSLATION

      public static final DeformerType TRANSLATION
      Translation deformer, which offsets its children.
    • OTHER

      public static final DeformerType OTHER
      A deformer kind this SDK version does not model explicitly.
  • Method Details

    • values

      public static DeformerType[] 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 DeformerType 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