Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Execution
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_DynamicHierarchyBaseMutable
- FRigUnit_AddParent
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Execution/RigUnit_DynamicHierarchy.h |
| Include | #include "Units/Execution/RigUnit_DynamicHierarchy.h" |
Syntax
USTRUCT (Meta=(DisplayName="Add Parent", Keywords="Children,Parent,Constraint,Space", Varying))
struct FRigUnit_AddParent : public FRigUnit_DynamicHierarchyBaseMutable
Remarks
Adds a new parent to an element. The weight for the new parent will be 0.0. You can use the SetParentWeights node to change the parent weights later.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRigElementKey | Child | The child to be parented under the new parent | |
| FRigElementKey | Parent | The new parent to be added to the child |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |