Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
UFUNCTION (BlueprintCallable, Category=URigHierarchy)
void SetControlPreferredEulerAnglesByIndex
(
int32 InElementIndex,
const FVector & InEulerAngles,
EEulerRotationOrder InRotationOrder,
bool bInitial,
bool bFixEulerFlips
)
Remarks
Sets a control's preferred euler angles (local transform rotation)
Parameters
| Name | Description |
|---|---|
| InElementIndex | The element index to look up |
| InEulerAngles | The new preferred euler angles to set |
| InRotationOrder | The rotation order to use when setting the euler angles |
| bInitial | If true we'll return the preferred euler angles for the initial - otherwise current transform |
| bFixEulerFlips | If true the new euler angles value will use the shortest path |