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