Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchyController
Description
Adds a new channel host to the animation channel
This is just an overload of AddAvailableSpace for readability
| Name | AddChannelHost |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include Path | #include "Rigs/RigHierarchyController.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchyController.cpp |
UFUNCTION (BlueprintCallable, Category=URigHierarchyController)
bool AddChannelHost
(
FRigElementKey InChannel,
FRigElementKey InHost,
bool bSetupUndo,
bool bPrintPythonCommand
)
Returns true if successful.
Parameters
| Name | Remarks |
|---|---|
| InChannel | The animation channel to add the channel host for |
| InHost | The host to add to the channel to |
| 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 |