Navigation
API > API/Plugins > API/Plugins/MotionWarping
| Name | URootMotionModifier_PrecomputedWarp |
| Type | class |
| Header File | /Engine/Plugins/Animation/MotionWarping/Source/MotionWarping/Public/RootMotionModifier_PrecomputedWarp.h |
| Include Path | #include "RootMotionModifier_PrecomputedWarp.h" |
Syntax
UCLASS (Experimental, Blueprintable, MinimalAPI,
Meta=(DisplayName="Precomputed Warp", ToolTip="(Experimental) Precomputed warp computes the full path to alignment on the first frame of execution and then on following frames just applies that root motion. Only Suitable for stationary targets."))
class URootMotionModifier_PrecomputedWarp : public URootMotionModifier_Warp
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URootMotionModifier → URootMotionModifier_Warp → URootMotionModifier_PrecomputedWarp
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URootMotionModifier_PrecomputedWarp
(
const FObjectInitializer& ObjectInitializer |
RootMotionModifier_PrecomputedWarp.h |
Structs
| Name | Remarks |
|---|---|
| FAnimTrajectoryData |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActualStartTime | float | RootMotionModifier_PrecomputedWarp.h | ||
| AlignOffset | FTransform | Offset from Root (or AlignBone) to Align to the target transform. | RootMotionModifier_PrecomputedWarp.h |
|
| AnimTrajectoryData | FAnimTrajectoryData | RootMotionModifier_PrecomputedWarp.h | ||
| bEnableSteering | bool | Steering will rotate the character based on the difference between the animated movement direction and the warped movement direction, to keep the character facing their direction of movement. | RootMotionModifier_PrecomputedWarp.h |
|
| bFirstFrame | bool | RootMotionModifier_PrecomputedWarp.h | ||
| bForceTargetTransformUpright | bool | Only allow Yaw in the target transform (remove other rotations before warping) | RootMotionModifier_PrecomputedWarp.h |
|
| bSeparateTranslationCurves | bool | RootMotionModifier_PrecomputedWarp.h |
|
|
| Disable | FName | Bool variable which will disable this notify. | RootMotionModifier_PrecomputedWarp.h |
|
| FilteredSteeringTarget | FQuat | RootMotionModifier_PrecomputedWarp.h | ||
| PreviousFrame | float | RootMotionModifier_PrecomputedWarp.h | ||
| RotationWarpingCurve | FPrecomputedWarpCurve | RootMotionModifier_PrecomputedWarp.h |
|
|
| RoundedEndTime | float | RootMotionModifier_PrecomputedWarp.h | ||
| StartingRootTransform | FTransform | RootMotionModifier_PrecomputedWarp.h | ||
| SteeringSettings | FPrecomputedWarpSteeringSettings | RootMotionModifier_PrecomputedWarp.h |
|
|
| TargetSmoothingState | FQuaternionSpringState | RootMotionModifier_PrecomputedWarp.h | ||
| TargetTransform | FTransform | RootMotionModifier_PrecomputedWarp.h | ||
| TranslationWarpingCurve | FPrecomputedWarpCurve | RootMotionModifier_PrecomputedWarp.h |
|
|
| TranslationWarpingCurve_InMovementDirection | FPrecomputedWarpCurve | Curve for warping translation in direction of movement | RootMotionModifier_PrecomputedWarp.h |
|
| TranslationWarpingCurve_OutOfMovementDirection | FPrecomputedWarpCurve | RootMotionModifier_PrecomputedWarp.h |
|
|
| UpdateMode | EPrecomputedWarpUpdateMode | RootMotionModifier_PrecomputedWarp.h |
|
|
| WarpedTrajectory | TArray< FTransform > | RootMotionModifier_PrecomputedWarp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetWeight
(
float CurrentTime, |
RootMotionModifier_PrecomputedWarp.h | ||
void SetAlignOffset
(
FTransform NewTransform |
For automating setting the AlignOffset at the end of the NotifyState. | RootMotionModifier_PrecomputedWarp.h |
|
Public Virtual
Overridden from URootMotionModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FRootMotionModifierSwapState > GetSwapState() |
Returns a snapshot of the current state of this modifier | RootMotionModifier_PrecomputedWarp.h | |
virtual void PopulateSwapState
(
TSharedPtr< FRootMotionModifierSwapState > InSwapState |
Populates given swap state | RootMotionModifier_PrecomputedWarp.h | |
virtual FTransform ProcessRootMotion
(
const FTransform& InRootMotion, |
RootMotionModifier_PrecomputedWarp.h | ||
virtual void RestoreFromSwapState
(
TSharedPtr< FRootMotionModifierSwapState > InSwapState |
Restores this modifer to some previous state snapshot | RootMotionModifier_PrecomputedWarp.h |