Package dev.turboism.sdk.cubism
Enum Class DeformerType
- All Implemented Interfaces:
Serializable,Comparable<DeformerType>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA deformer kind this SDK version does not model explicitly.Synthetic root of the deformer tree; not a deformer the user can edit.Rotation deformer, which pivots its children about an origin.Translation deformer, which offsets its children.Warp deformer, which distorts geometry through a control-point grid. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeformerTypeReturns the enum constant of this class with the specified name.static DeformerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROOT
Synthetic root of the deformer tree; not a deformer the user can edit. -
WARP
Warp deformer, which distorts geometry through a control-point grid. -
ROTATION
Rotation deformer, which pivots its children about an origin. -
TRANSLATION
Translation deformer, which offsets its children. -
OTHER
A deformer kind this SDK version does not model explicitly.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-