Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchy
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetControlPreferredRotator
(
FRigElementKey InKey, |
Sets a control's preferred rotator (local transform rotation) | Rigs/RigHierarchy.h |
|
void SetControlPreferredRotator
(
FRigControlElement* InControlElement, |
Sets a control's preferred rotator (local transform rotation) | Rigs/RigHierarchy.h |
SetControlPreferredRotator(FRigElementKey, const FRotator &, bool, bool)
Description
Sets a control's preferred rotator (local transform rotation)
| Name | SetControlPreferredRotator |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
UFUNCTION (BlueprintCallable, Category=URigHierarchy)
void SetControlPreferredRotator
(
FRigElementKey InKey,
const FRotator & InRotator,
bool bInitial,
bool bFixEulerFlips
)
Parameters
| Name | Remarks |
|---|---|
| InKey | The key of the element to retrieve the current value for |
| InRotator | The new preferred rotator to set |
| bInitial | If true we'll return the preferred rotator for the initial - otherwise current transform |
| bFixEulerFlips | If true the new rotator value will use the shortest path |
SetControlPreferredRotator(FRigControlElement *, const FRotator &, bool, bool)
Description
Sets a control's preferred rotator (local transform rotation)
| Name | SetControlPreferredRotator |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
void SetControlPreferredRotator
(
FRigControlElement * InControlElement,
const FRotator & InRotator,
bool bInitial,
bool bFixEulerFlips
)
Parameters
| Name | Remarks |
|---|---|
| InControlElement | The element to look up |
| InRotator | The new preferred rotator to set |
| bInitial | If true we'll return the preferred rotator for the initial - otherwise current transform |
| bFixEulerFlips | If true the new rotator value will use the shortest path |