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