Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchy
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SetParentWeight
(
FRigElementKey InChild, |
Sets the weight of a parent below a multi parent element | Rigs/RigHierarchy.h |
|
bool SetParentWeight
(
FRigBaseElement* InChild, |
Sets the weight of a parent below a multi parent element | Rigs/RigHierarchy.h | |
bool SetParentWeight
(
FRigBaseElement* InChild, |
Sets the weight of a parent below a multi parent element | Rigs/RigHierarchy.h |
SetParentWeight(FRigElementKey, FRigElementKey, FRigElementWeight, bool, bool)
Description
Sets the weight of a parent below a multi parent element
| Name | SetParentWeight |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchy.cpp |
UFUNCTION (BlueprintCallable, Category=URigHierarchy)
bool SetParentWeight
(
FRigElementKey InChild,
FRigElementKey InParent,
FRigElementWeight InWeight,
bool bInitial,
bool bAffectChildren
)
Returns true if changing the weight was successful
Parameters
| Name | Remarks |
|---|---|
| InChild | The key of the multi parented element |
| InParent | The key of the parent to look up the weight for |
| InWeight | The new weight to set for the parent |
| bInitial | If true the initial weights will be used |
| bAffectChildren | If set to false children will not move (maintain global). |
SetParentWeight(FRigBaseElement , const FRigBaseElement , FRigElementWeight, bool, bool)
Description
Sets the weight of a parent below a multi parent element
| Name | SetParentWeight |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchy.cpp |
bool SetParentWeight
(
FRigBaseElement * InChild,
const FRigBaseElement * InParent,
FRigElementWeight InWeight,
bool bInitial,
bool bAffectChildren
)
Returns true if changing the weight was successful
Parameters
| Name | Remarks |
|---|---|
| InChild | The multi parented element |
| InParent | The parent to look up the weight for |
| InWeight | The new weight to set for the parent |
| bInitial | If true the initial weights will be used |
| bAffectChildren | If set to false children will not move (maintain global). |
SetParentWeight(FRigBaseElement *, int32, FRigElementWeight, bool, bool)
Description
Sets the weight of a parent below a multi parent element
| Name | SetParentWeight |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchy.cpp |
bool SetParentWeight
(
FRigBaseElement * InChild,
int32 InParentIndex,
FRigElementWeight InWeight,
bool bInitial,
bool bAffectChildren
)
Returns true if changing the weight was successful
Parameters
| Name | Remarks |
|---|---|
| InChild | The multi parented element |
| InParentIndex | The index of the parent inside of the multi parent element |
| InWeight | The new weight to set for the parent |
| bInitial | If true the initial weights will be used |
| bAffectChildren | If set to false children will not move (maintain global). |