Struct TwistChainConstraintData
The TwistChain constraint data.
Namespace: UnityEngine.Animations.Rigging
Syntax
[Serializable]
public struct TwistChainConstraintData : IAnimationJobData, ITwistChainConstraintData
Properties
curve
Curve with weight values used to adjust how twist is distributed along the chain.
Declaration
public AnimationCurve curve { get; set; }
Property Value
Type | Description |
---|---|
AnimationCurve |
Implements
root
The root Transform of the TwistChain hierarchy.
Declaration
public Transform root { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Implements
rootTarget
The TwistChain root target Transform.
Declaration
public Transform rootTarget { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Implements
tip
The tip Transform of the TwistChain hierarchy.
Declaration
public Transform tip { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Implements
tipTarget
The TwistChain tip target Transform.
Declaration
public Transform tipTarget { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Implements
Explicit Interface Implementations
IAnimationJobData.IsValid()
Retrieves the data valid state.
Declaration
bool IAnimationJobData.IsValid()
Returns
Type | Description |
---|---|
Boolean | Returns true if data can be successfully used in a constraint. Returns false otherwise. |
Implements
IAnimationJobData.SetDefaultValues()
Resets values to defaults.
Declaration
void IAnimationJobData.SetDefaultValues()