Navigation
API > API/Plugins > API/Plugins/AnimationModifierLibrary
| Name | UMotionExtractorUtilityLibrary |
| Type | class |
| Header File | /Engine/Plugins/Animation/AnimationModifierLibrary/Source/AnimationModifierLibrary/Public/MotionExtractorUtilities.h |
| Include Path | #include "MotionExtractorUtilities.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="MotionExtractorUtilityLibrary"))
class UMotionExtractorUtilityLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UMotionExtractorUtilityLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static double CalculateMagnitude
(
const FVector& Vector, |
Helper function to calculate the magnitude of a vector only considering a specific axis or axes | MotionExtractorUtilities.h | |
static FTransform ExtractBoneTransform
(
UAnimSequence* Animation, |
Helper function to extract the pose for a given bone at a given time IMPORTANT: This function expects you to add a MemMark (FMemMark Mark(FMemStack::Get());) at the correct scope if you are using it from outside world's tick | MotionExtractorUtilities.h | |
static FName GenerateCurveName
(
FName BoneName, |
Generates a curve name based on input settings. | MotionExtractorUtilities.h |
|
static float GetDesiredValue
(
const FTransform& BoneTransform, |
Returns the desired value from the extracted poses based on input settings. | MotionExtractorUtilities.h |
|
static TArray< FVector2D > GetMovingRangesFromRootMotion
(
const UAnimSequence* AnimSequence, |
Returns the ranges (X/Start to Y/End) in the specified animation sequence where the animation is considered moving. | MotionExtractorUtilities.h |
|
static TArray< FVector2D > GetStoppedRangesFromRootMotion
(
const UAnimSequence* AnimSequence, |
Returns the ranges (X/Start to Y/End) in the specified animation sequence where the animation is considered stopped. | MotionExtractorUtilities.h |
|