Navigation
API > API/Runtime > API/Runtime/Engine
Modular feature interface for AnimationWarping.
| Name | IAnimRootMotionProvider |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimRootMotionProvider.h |
| Include Path | #include "Animation/AnimRootMotionProvider.h" |
Syntax
class IAnimRootMotionProvider : public IModularFeature
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IAnimRootMotionProvider() |
Animation/AnimRootMotionProvider.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AttributeName | const FName | Animation/AnimRootMotionProvider.h | |
| ModularFeatureName | const FName | Animation/AnimRootMotionProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ExtractRootMotion
(
const FStackAttributeContainer& Attributes, |
Extract the currently stored root motion delta in the specified attribute container. | Animation/AnimRootMotionProvider.h | |
bool HasRootMotion
(
const FStackAttributeContainer& Attributes |
Query whether or not a computed root motion delta exists within the specified attribute container. | Animation/AnimRootMotionProvider.h | |
bool OverrideRootMotion
(
const FTransform& RootMotionDelta, |
Override the currently stored root motion delta in the specified attribute container. Requires root motion to exist prior to overriding. | Animation/AnimRootMotionProvider.h | |
void SampleRootMotion
(
const FDeltaTimeRecord& SampleRange, |
Given the specified time range, sequence, and looping behavior, sample a root motion delta and store it in the specified attribute container. | Animation/AnimRootMotionProvider.h | |
virtual bool SetRootMotion
(
const FTransform& RootMotionDelta, |
Directly sets the root motion attribute. Does not require root motion to exist already. | Animation/AnimRootMotionProvider.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const IAnimRootMotionProvider * Get() |
Animation/AnimRootMotionProvider.h | ||
static bool IsAvailable() |
Animation/AnimRootMotionProvider.h |