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 |
UFUNCTION&40;BlueprintCallable, Category&61;URigHierarchyController&41;
TArray< FRigElementKey > ImportBonesFromAsset
&40;
FString InAssetPath,
FName InNameSpace,
bool bReplaceExistingBones,
bool bRemoveObsoleteBones,
bool bSelectBones,
bool bSetupUndo
&41;
Remarks
Imports an existing skeleton to the hierarchy The keys of the imported elements
Parameters
| Name | Description |
|---|---|
| InAssetPath | The path to the uasset to import from |
| InNameSpace | The namespace to prefix the bone names with |
| bReplaceExistingBones | If true existing bones will be removed |
| bRemoveObsoleteBones | If true bones non-existent in the skeleton will be removed from the hierarchy |
| bSelectBones | If true the bones will be selected upon import |
| bSetupUndo | If set to true the stack will record the change for undo / redo |