Navigation
API > API/Plugins > API/Plugins/AnimationModifierLibrary
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimationModifier
- UMotionExtractorModifier
References
| Module | AnimationModifierLibrary |
| Header | /Engine/Plugins/Animation/AnimationModifierLibrary/Source/AnimationModifierLibrary/Public/MotionExtractorModifier.h |
| Include | #include "MotionExtractorModifier.h" |
Syntax
UCLASS&40;&41;
class UMotionExtractorModifier : public UAnimationModifier
Remarks
Extracts motion from a bone in the animation and bakes it into a curve
Variables
| Type | Name | Description | |
|---|---|---|---|
| EMotionExtractor_Axis | Axis | Axis to get the value from | |
| bool | bAbsoluteValue | Whether to convert the final value to absolute (positive) | |
| bool | bComponentSpace | Whether to extract the bone pose in component space or local space | |
| bool | bNormalize | Whether we want a normalized value (0 - 1) | |
| FName | BoneName | Bone we are going to generate the curve from | |
| bool | bRelativeToFirstFrame | Whether to extract the bone transforms relative to the first frame in the animation | |
| bool | bRemoveCurveOnRevert | Whether we want to remove the curve when we revert or re-apply modifier Disabling this allows you to modify settings and create a new curve each time you re-apply the modifier Enabling this is the preferred setting when using a modifier that's applied in bulk and you may want to remove/rename curves | |
| bool | bUseCustomCurveName | Whether we want to specify a custom name for the curve. | |
| FName | CustomCurveName | Custom name for the curve we are going to generate. | |
| EMotionExtractor_MathOperation | MathOperation | Optional math operation to apply on the extracted value before add it to the generated curve | |
| float | Modifier | Right operand for the math operation selected | |
| EMotionExtractor_MotionType | MotionType | Type of motion to extract | |
| int32 | SampleRate | Rate used to sample the animation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | GetCurveName () |
Returns the name for the curve. | |
| float | GetDesiredValue
(
const FTransform& BoneTransform, |
Returns the desired value from the extracted poses |
Overridden from UAnimationModifier
| Type | Name | Description | |
|---|---|---|---|
| void | OnApply_Implementation
(
UAnimSequence* Animation |
||
| void | OnRevert_Implementation
(
UAnimSequence* Animation |