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 AddAnimationChannel
&40;
FName InName,
FRigElementKey InParentControl,
FRigControlSettings InSettings,
bool bSetupUndo,
bool bPrintPythonCommand
&41;
Remarks
Adds a control to the hierarchy The key for the newly created animation channel.
Parameters
| Name | Description |
|---|---|
| InName | The suggested name of the new animation channel - will eventually be corrected by the namespace |
| InParentControl | The parent of the new animation channel. |
| InSettings | All of the animation channel's settings |
| bSetupUndo | If set to true the stack will record the change for undo / redo |
| bPrintPythonCommand | If set to true a python command equivalent to this call will be printed out |