public class ConstraintDefinitionMaintainVolume extends ConstraintDefinition
alteredOmas, blenderContext, constraintHelper, constraintName, flag, ownerOMA, trackToBeChanged
Constructor and Description |
---|
ConstraintDefinitionMaintainVolume(Structure constraintData,
java.lang.Long ownerOMA,
BlenderContext blenderContext) |
Modifier and Type | Method and Description |
---|---|
void |
bake(ConstraintHelper.Space ownerSpace,
ConstraintHelper.Space targetSpace,
Transform targetTransform,
float influence)
Bakes the constraint for the current feature (bone or spatial) position.
|
java.lang.String |
getConstraintTypeName() |
boolean |
isTargetRequired() |
applyOwnerTransform, getAlteredOmas, getOwner, getOwnerTransform, isImplemented, isTrackToBeChanged, setConstraintName, toString
public ConstraintDefinitionMaintainVolume(Structure constraintData, java.lang.Long ownerOMA, BlenderContext blenderContext)
public void bake(ConstraintHelper.Space ownerSpace, ConstraintHelper.Space targetSpace, Transform targetTransform, float influence)
ConstraintDefinition
bake
in class ConstraintDefinition
ownerSpace
- the space where owner transform will be evaluated intargetSpace
- the space where target transform will be evaluated intargetTransform
- the target transform used by some of the constraintsinfluence
- the influence of the constraint from range [0; 1]public java.lang.String getConstraintTypeName()
getConstraintTypeName
in class ConstraintDefinition
public boolean isTargetRequired()
isTargetRequired
in class ConstraintDefinition