Navigation
API > API/Plugins > API/Plugins/MotionWarping
| Name | URootMotionModifier_Warp |
| Type | class |
| Header File | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Public/RootMotionModifier.h |
| Include Path | #include "RootMotionModifier.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class URootMotionModifier_Warp : public URootMotionModifier
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URootMotionModifier → URootMotionModifier_Warp
Derived Classes
- UDEPRECATED_RootMotionModifier_SimpleWarp
- URootMotionModifier_AdjustmentBlendWarp
- URootMotionModifier_SkewWarp
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URootMotionModifier_Warp
(
const FObjectInitializer& ObjectInitializer |
RootMotionModifier.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddTranslationEasingCurve | TObjectPtr< class UCurveFloat > | Custom curve used to add translation when there is none to warp. | RootMotionModifier.h |
|
| AddTranslationEasingFunc | EAlphaBlendOption | Easing function used when adding translation. | RootMotionModifier.h |
|
| bIgnoreZAxis | bool | Whether to ignore the Z component of the translation. Z motion will remain untouched | RootMotionModifier.h |
|
| bSubtractRemainingRootMotion | bool | Should root motion after this notify state be subtracted from warp target transform. | RootMotionModifier.h |
|
| bWarpRotation | bool | Whether to warp the rotation component of the root motion | RootMotionModifier.h |
|
| bWarpToFeetLocation | bool | Whether we warp the actors location or their foot location to the warp target | RootMotionModifier.h |
|
| bWarpTranslation | bool | Whether to warp the translation component of the root motion | RootMotionModifier.h |
|
| RotationMethod | EMotionWarpRotationMethod | The method of rotation to use | RootMotionModifier.h |
|
| RotationType | EMotionWarpRotationType | Whether rotation should be warp to match the rotation of the sync point or to face the sync point | RootMotionModifier.h |
|
| WarpMaxRotationRate | float | Maximum rotation rate in degrees/sec. Will be the value used in constant rotation rate | RootMotionModifier.h |
|
| WarpPointAnimBoneName | FName | RootMotionModifier.h |
|
|
| WarpPointAnimProvider | EWarpPointAnimProvider | RootMotionModifier.h |
|
|
| WarpPointAnimTransform | FTransform | RootMotionModifier.h |
|
|
| WarpRotationTimeMultiplier | float | Allow to modify how fast the rotation is warped. | RootMotionModifier.h |
|
| WarpTargetName | FName | Name used to find the warp target for this modifier | RootMotionModifier.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector GetTargetLocation() |
RootMotionModifier.h | ||
FQuat GetTargetRotation() |
RootMotionModifier.h | ||
FRotator GetTargetRotator() |
RootMotionModifier.h | ||
virtual void OnTargetTransformChanged() |
Event called during update if the target transform changes while the warping is active | RootMotionModifier.h | |
void PrintLog
(
const FString& Name, |
RootMotionModifier.h | ||
FQuat WarpRotation
(
const FTransform& RootMotionDelta, |
RootMotionModifier.h |
Overridden from URootMotionModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnStateChanged
(
ERootMotionModifierState LastState |
Called when the state of the modifier changes | RootMotionModifier.h | |
virtual void Update
(
const FMotionWarpingUpdateContext& Context |
RootMotionModifier.h |