Navigation
API > API/Plugins > API/Plugins/ControlRig
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.
If you just want to add a space to a control you can use the 'Add Spaces' node.
| Name | FRigUnit_AddParent |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Execution/RigUnit_DynamicHierarchy.h |
| Include Path | #include "Units/Execution/RigUnit_DynamicHierarchy.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Create Parent Relationship", Keywords="Children,Parent,Constraint,Space,AddParent", Varying))
struct FRigUnit_AddParent : public FRigUnit_DynamicHierarchyBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_DynamicHierarchyBaseMutable → FRigUnit_AddParent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_AddParent() |
Units/Execution/RigUnit_DynamicHierarchy.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Child | FRigElementKey | The child to be parented under the new parent | Units/Execution/RigUnit_DynamicHierarchy.h |
|
| DisplayLabel | FName | The optional display label for the parent constraint / space | Units/Execution/RigUnit_DynamicHierarchy.h |
|
| Parent | FRigElementKey | The new parent to be added to the child | Units/Execution/RigUnit_DynamicHierarchy.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Units/Execution/RigUnit_DynamicHierarchy.h |