Navigation
API > API/Runtime > API/Runtime/Engine
Utility struct to accumulate root motion.
| Name | FRootMotionMovementParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimationAsset.h |
| Include Path | #include "Animation/AnimationAsset.h" |
Syntax
USTRUCT ()
struct FRootMotionMovementParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/AnimationAsset.h | |||
FRootMotionMovementParams
(
const FRootMotionMovementParams& Other |
Copy/Move constructors and assignment operator added for deprecation support Could be removed once RootMotionTransform is made private | Animation/AnimationAsset.h | |
FRootMotionMovementParams
(
const FRootMotionMovementParams&& Other |
Animation/AnimationAsset.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| RootMotionScale | FVector | Animation/AnimationAsset.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasRootMotion | bool | Animation/AnimationAsset.h | ||
| BlendWeight | float | Animation/AnimationAsset.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RootMotionTransform | FTransform | Animation/AnimationAsset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Accumulate
(
const FTransform& InTransform |
Animation/AnimationAsset.h | ||
void Accumulate
(
const FRootMotionMovementParams& MovementParams |
Animation/AnimationAsset.h | ||
void AccumulateWithBlend
(
const FTransform& InTransform, |
Animation/AnimationAsset.h | ||
void AccumulateWithBlend
(
const FRootMotionMovementParams& MovementParams, |
Animation/AnimationAsset.h | ||
void Clear() |
Animation/AnimationAsset.h | ||
FRootMotionMovementParams ConsumeRootMotion
(
float Alpha |
Animation/AnimationAsset.h | ||
const FTransform & GetRootMotionTransform() |
Animation/AnimationAsset.h | ||
void MakeUpToFullWeight() |
Animation/AnimationAsset.h | ||
void ScaleRootMotionTranslation
(
float TranslationScale |
Animation/AnimationAsset.h | ||
void Set
(
const FTransform& InTransform |
Animation/AnimationAsset.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRootMotionMovementParams & operator=
(
const FRootMotionMovementParams& Other |
Animation/AnimationAsset.h |