Struct TwistChainInverseConstraintJob
The TwistChain inverse constraint job.
Namespace: UnityEditor.Animations.Rigging
Syntax
[BurstCompile]
public struct TwistChainInverseConstraintJob : IWeightedAnimationJob, IAnimationJob
Fields
root
The Transform handle for the root Transform of the chain.
Declaration
public ReadOnlyTransformHandle root
Field Value
Type | Description |
---|---|
ReadOnlyTransformHandle |
rootTarget
The Transform handle for the root target Transform.
Declaration
public ReadWriteTransformHandle rootTarget
Field Value
Type | Description |
---|---|
ReadWriteTransformHandle |
tip
The Transform handle for the tip Transform of the chain.
Declaration
public ReadOnlyTransformHandle tip
Field Value
Type | Description |
---|---|
ReadOnlyTransformHandle |
tipTarget
The Transform handle for the tip target Transform.
Declaration
public ReadWriteTransformHandle tipTarget
Field Value
Type | Description |
---|---|
ReadWriteTransformHandle |
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. |