Navigation
API > API/Plugins > API/Plugins/AnimationModifierLibrary
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UMotionExtractorUtilityLibrary
References
| Module | AnimationModifierLibrary |
| Header | /Engine/Plugins/Animation/AnimationModifierLibrary/Source/AnimationModifierLibrary/Public/MotionExtractorUtilities.h |
| Include | #include "MotionExtractorUtilities.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"MotionExtractorUtilityLibrary"&41;&41;
class UMotionExtractorUtilityLibrary : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | CalculateMagnitude
(
const FVector& Vector, |
Helper function to calculate the magnitude of a vector only considering a specific axis or axes | |
| 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 | |
| FName | GenerateCurveName
(
FName BoneName, |
Generates a curve name based on input settings. | |
| float | GetDesiredValue
(
const FTransform& BoneTransform, |
Returns the desired value from the extracted poses based on input settings. | |
| 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. | |
| 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. |