Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Highlevel > API/Plugins/ControlRig/Units/Highlevel/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnit_HighlevelBase
- FRigUnit_TwoBoneIKSimpleTransforms
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
| Include | #include "Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Basic IK Transforms", Category="Hierarchy", Keywords="TwoBone,IK", NodeColor="0 1 1"))
struct FRigUnit_TwoBoneIKSimpleTransforms : public FRigUnit_HighlevelBase
Remarks
Solves the two bone IK given transforms Note: This node operates in world space!
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableStretch | If set to true the stretch feature of the solver will be enabled | |
| float | BoneALength | The length of the first bone. If set to 0.0 it will be determined by the hierarchy | |
| float | BoneBLength | The length of the second bone. If set to 0.0 it will be determined by the hierarchy | |
| FTransform | Effector | The transform of the effector | |
| FTransform | Elbow | The resulting elbow transform | |
| FVector | PoleVector | The position of the pole of the triangle | |
| FVector | PrimaryAxis | The major axis being aligned - along the bone | |
| FTransform | Root | The transform of the root of the triangle | |
| FVector | SecondaryAxis | The minor axis being aligned - towards the polevector | |
| float | SecondaryAxisWeight | Determines how much the secondary axis roll is being applied | |
| float | StretchMaximumRatio | The maximum allowed stretch ratio | |
| float | StretchStartRatio | The ratio where the stretch starts |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |