Package dev.turboism.sdk.cubism.model
Interface RotationDeformer
- All Superinterfaces:
Deformer
One Rotation Deformer exposed through Editor authoring semantics.
-
Method Summary
Modifier and TypeMethodDescriptiondefault RotationAuthoringSnapshotReturns independently stored ordinary forms and exact grid coordinates on verified hosts.floatReturns the deformer pivot's base angle, in degrees.form()Returns the deformer's current pivot form (position and radii).voidReplaces the deformer's pivot form through the Editor authoring path.voidsetBaseAngle(float angle) Writes the deformer pivot's base angle, in degrees, through the Editor authoring path.default voidsetOrdinaryKeyformForms(RotationAuthoringSnapshot expected, List<RotationKeyformForm> edits) Compare-and-set existing non-default ordinary forms, preserving grid and source identities.Methods inherited from interface dev.turboism.sdk.cubism.model.Deformer
getCombinedParameterBindings, getMorphParameterBindings, getNormalParameterBindings, getOpacity, getParameterBindings, id, index, locked, lockedInHierarchy, multiplyColor, name, ordinaryKeyformWriteSupport, parameterIds, parameters, parentDeformerId, parentDeformerIndex, parentPartId, parentPartIndex, screenColor, setId, setLocked, setMultiplyColor, setName, setOpacity, setParent, setParent, setScreenColor, setTargetDeformer, setVisible, ui, visible, visibleInHierarchy
-
Method Details
-
baseAngle
float baseAngle()Returns the deformer pivot's base angle, in degrees. -
setBaseAngle
void setBaseAngle(float angle) Writes the deformer pivot's base angle, in degrees, through the Editor authoring path.- Parameters:
angle- the new base angle in degrees
-
form
RotationDeformerForm form()Returns the deformer's current pivot form (position and radii). -
replaceForm
Replaces the deformer's pivot form through the Editor authoring path. -
authoringSnapshot
Returns independently stored ordinary forms and exact grid coordinates on verified hosts. -
setOrdinaryKeyformForms
default void setOrdinaryKeyformForms(RotationAuthoringSnapshot expected, List<RotationKeyformForm> edits) Compare-and-set existing non-default ordinary forms, preserving grid and source identities.
-