Navigation
API > API/Plugins > API/Plugins/ControlRig
Solves the two bone IK given transforms Note: This node operates in world space!
| Name | FRigUnit_TwoBoneIKSimpleTransforms |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
| Include Path | #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
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnit_HighlevelBase → FRigUnit_TwoBoneIKSimpleTransforms
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_TwoBoneIKSimpleTransforms() |
Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableStretch | bool | If set to true the stretch feature of the solver will be enabled | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| BoneALength | float | The length of the first bone. If set to 0.0 it will be determined by the hierarchy | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| BoneBLength | float | The length of the second bone. If set to 0.0 it will be determined by the hierarchy | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| Effector | FTransform | The transform of the effector | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| Elbow | FTransform | The resulting elbow transform | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| PoleVector | FVector | The position of the pole of the triangle | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| PrimaryAxis | FVector | The major axis being aligned - along the bone | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| Root | FTransform | The transform of the root of the triangle | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| SecondaryAxis | FVector | The minor axis being aligned - towards the polevector | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| SecondaryAxisWeight | float | Determines how much the secondary axis roll is being applied | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| StretchMaximumRatio | float | The maximum allowed stretch ratio | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
| StretchStartRatio | float | The ratio where the stretch starts | Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Units/Highlevel/Hierarchy/RigUnit_TwoBoneIKSimple.h |