Struct TwoBoneIKInverseConstraintJob
The TwoBoneIK inverse constraint job.
Namespace: UnityEditor.Animations.Rigging
Syntax
[BurstCompile]
public struct TwoBoneIKInverseConstraintJob : IWeightedAnimationJob, IAnimationJob
Fields
hint
The transform handle for the hint transform.
Declaration
public ReadWriteTransformHandle hint
Field Value
Type | Description |
---|---|
ReadWriteTransformHandle |
hintWeight
The weight for which hint transform has an effect on IK calculations. This is a value in between 0 and 1.
Declaration
public FloatProperty hintWeight
Field Value
Type | Description |
---|---|
FloatProperty |
mid
The transform handle for the mid transform.
Declaration
public ReadOnlyTransformHandle mid
Field Value
Type | Description |
---|---|
ReadOnlyTransformHandle |
root
The transform handle for the root transform.
Declaration
public ReadOnlyTransformHandle root
Field Value
Type | Description |
---|---|
ReadOnlyTransformHandle |
target
The transform handle for the target transform.
Declaration
public ReadWriteTransformHandle target
Field Value
Type | Description |
---|---|
ReadWriteTransformHandle |
targetOffset
The offset applied to the target transform if maintainTargetPositionOffset or maintainTargetRotationOffset is enabled.
Declaration
public AffineTransform targetOffset
Field Value
Type | Description |
---|---|
AffineTransform |
targetPositionWeight
The weight for which target position has an effect on IK calculations. This is a value in between 0 and 1.
Declaration
public FloatProperty targetPositionWeight
Field Value
Type | Description |
---|---|
FloatProperty |
targetRotationWeight
The weight for which target rotation has an effect on IK calculations. This is a value in between 0 and 1.
Declaration
public FloatProperty targetRotationWeight
Field Value
Type | Description |
---|---|
FloatProperty |
tip
The transform handle for the tip transform.
Declaration
public ReadOnlyTransformHandle tip
Field Value
Type | Description |
---|---|
ReadOnlyTransformHandle |
Properties
jobWeight
The main weight given to the constraint. This is a value in between 0 and 1.
Declaration
public FloatProperty jobWeight { readonly get; set; }
Property Value
Type | Description |
---|---|
FloatProperty |
Implements
Methods
ProcessAnimation(AnimationStream)
Defines what to do when processing the animation.
Declaration
public void ProcessAnimation(AnimationStream stream)
Parameters
Type | Name | Description |
---|---|---|
AnimationStream | stream | The animation stream to work on. |
Implements
ProcessRootMotion(AnimationStream)
Defines what to do when processing the root motion.
Declaration
public void ProcessRootMotion(AnimationStream stream)
Parameters
Type | Name | Description |
---|---|---|
AnimationStream | stream | The animation stream to work on. |