Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
The FRotationRetargetingInfo is used to provide all of the settings required to perform rotational retargeting on a single transform.
| Name | FRotationRetargetingInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/CommonAnimationTypes.h |
| Include Path | #include "CommonAnimationTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FRotationRetargetingInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRotationRetargetingInfo
(
bool bInEnabled |
Default constructor | CommonAnimationTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClamp | bool | If set to true the value for the easing will be clamped between 0.0 and 1.0. | CommonAnimationTypes.h |
|
| bEnabled | bool | Set to true this enables retargeting. | CommonAnimationTypes.h |
|
| bFlipEasing | bool | If set to true the interpolation value for the easing will be flipped (1.0 - Value) | CommonAnimationTypes.h |
|
| bUseAbsoluteAngle | bool | If set to true the angle will be always positive, thus resulting in mirrored rotation both ways. | CommonAnimationTypes.h |
|
| CustomCurve | FRuntimeFloatCurve | Custom curve mapping to apply if bApplyCustomCurve is true | CommonAnimationTypes.h |
|
| EasingType | EEasingFuncType | The easing to use - pick linear if you don't want to apply any easing. | CommonAnimationTypes.h |
|
| EasingWeight | float | The amount of easing to apply (value should be 0.0 to 1.0) | CommonAnimationTypes.h |
|
| RotationComponent | ERotationComponent | The rotation component to perform retargeting with. | CommonAnimationTypes.h |
|
| Source | FTransform | The source transform of the frame of reference. The rotation is made relative to this space. | CommonAnimationTypes.h |
|
| SourceMaximum | float | The maximum value of the source angle in degrees. | CommonAnimationTypes.h |
|
| SourceMinimum | float | The minimum value of the source angle in degrees. | CommonAnimationTypes.h |
|
| Target | FTransform | The target transform to project the rotation. In most cases this is the same as Source. | CommonAnimationTypes.h |
|
| TargetMaximum | float | The target value of the target angle in degrees (can be the same as SourceMaximum) | CommonAnimationTypes.h |
|
| TargetMinimum | float | The minimum value of the target angle in degrees (can be the same as SourceMinimum) | CommonAnimationTypes.h |
|
| TwistAxis | FVector | In case the rotation component is SwingAngle or TwistAngle this vector is used as the twist axis. | CommonAnimationTypes.h |
|