Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchyController
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include | #include "Rigs/RigHierarchyController.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchyController.cpp |
FRigElementKey AddReference
&40;
FName InName,
FRigElementKey InParent,
FRigReferenceGetWorldTransformDelegate InDelegate,
bool bSetupUndo
&41;
Remarks
Adds an reference to the hierarchy The key for the newly created reference.
Parameters
| Name | Description |
|---|---|
| InName | The suggested name of the new reference - will eventually be corrected by the namespace |
| InParent | The (optional) parent of the new reference. If you don't need a parent, pass FRigElementKey() |
| InDelegate | The delegate to use to pull the local transform |
| bSetupUndo | If set to true the stack will record the change for undo / redo |