Interface ITwoBoneIKConstraintData
This interface defines the data mapping for the TwoBoneIK constraint.
Namespace: UnityEngine.Animations.Rigging
Syntax
public interface ITwoBoneIKConstraintData
Properties
hint
The IK hint transform.
Declaration
Transform hint { get; }
Property Value
Type | Description |
---|---|
Transform |
hintWeightFloatProperty
The path to the hint weight property in the constraint component.
Declaration
string hintWeightFloatProperty { get; }
Property Value
Type | Description |
---|---|
String |
maintainTargetPositionOffset
This is used to maintain the offset of the tip position to the target position.
Declaration
bool maintainTargetPositionOffset { get; }
Property Value
Type | Description |
---|---|
Boolean |
maintainTargetRotationOffset
This is used to maintain the offset of the tip rotation to the target rotation.
Declaration
bool maintainTargetRotationOffset { get; }
Property Value
Type | Description |
---|---|
Boolean |
mid
The mid transform of the two bones hierarchy.
Declaration
Transform mid { get; }
Property Value
Type | Description |
---|---|
Transform |
root
The root transform of the two bones hierarchy.
Declaration
Transform root { get; }
Property Value
Type | Description |
---|---|
Transform |
target
The IK target transform.
Declaration
Transform target { get; }
Property Value
Type | Description |
---|---|
Transform |
targetPositionWeightFloatProperty
The path to the target position weight property in the constraint component.
Declaration
string targetPositionWeightFloatProperty { get; }
Property Value
Type | Description |
---|---|
String |
targetRotationWeightFloatProperty
The path to the target rotation weight property in the constraint component.
Declaration
string targetRotationWeightFloatProperty { get; }
Property Value
Type | Description |
---|---|
String |
tip
The tip transform of the two bones hierarchy.
Declaration
Transform tip { get; }
Property Value
Type | Description |
---|---|
Transform |