Package dev.turboism.sdk.cubism.edit
Enum Class DeformerOps.Unavailable
- All Implemented Interfaces:
DeformerOps,Serializable,Comparable<DeformerOps.Unavailable>,Constable
- Enclosing interface:
- DeformerOps
public static enum DeformerOps.Unavailable
extends Enum<DeformerOps.Unavailable>
implements DeformerOps
Singleton fail-closed implementation returned by
DeformerOps.unavailable().-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface dev.turboism.sdk.cubism.edit.DeformerOps
DeformerOps.AddRotationDeformer, DeformerOps.AddWarpDeformer, DeformerOps.EditRotationDeformer, DeformerOps.EditWarpDeformer, DeformerOps.Unavailable -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreates a rotation deformer aroundtargetObjectIds(AddRotationDeformer); returnstrueon success.booleanCreates a warp deformer aroundtargetObjectIds(AddWarpDeformer); returnstrueon success.Reads the deformer structure tree (GetDeformerStructure).booleanEdits one rotation deformer (EditRotationDeformer); returnstrueon success.booleanEdits one warp deformer (EditWarpDeformer); returnstrueon success.static DeformerOps.UnavailableReturns the enum constant of this class with the specified name.static DeformerOps.Unavailable[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
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
-
deformerStructure
Description copied from interface:DeformerOpsReads the deformer structure tree (GetDeformerStructure).- Specified by:
deformerStructurein interfaceDeformerOps- Returns:
- the deformer root; children are deformers in palette order
- Throws:
EditSessionException
-
addRotationDeformer
public boolean addRotationDeformer(DeformerOps.AddRotationDeformer request) throws EditSessionException Description copied from interface:DeformerOpsCreates a rotation deformer aroundtargetObjectIds(AddRotationDeformer); returnstrueon success.- Specified by:
addRotationDeformerin interfaceDeformerOps- Throws:
EditSessionException
-
addWarpDeformer
Description copied from interface:DeformerOpsCreates a warp deformer aroundtargetObjectIds(AddWarpDeformer); returnstrueon success.- Specified by:
addWarpDeformerin interfaceDeformerOps- Throws:
EditSessionException
-
editRotationDeformer
public boolean editRotationDeformer(DeformerOps.EditRotationDeformer request) throws EditSessionException Description copied from interface:DeformerOpsEdits one rotation deformer (EditRotationDeformer); returnstrueon success.- Specified by:
editRotationDeformerin interfaceDeformerOps- Throws:
EditSessionException
-
editWarpDeformer
Description copied from interface:DeformerOpsEdits one warp deformer (EditWarpDeformer); returnstrueon success.- Specified by:
editWarpDeformerin interfaceDeformerOps- Throws:
EditSessionException
-