Navigation
API > API/Plugins > API/Plugins/AnimationLocomotionLibraryEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimationModifier
- UDistanceCurveModifier
References
| Module | AnimationLocomotionLibraryEditor |
| Header | /Engine/Plugins/Animation/AnimationLocomotionLibrary/Source/Editor/Public/DistanceCurveModifier.h |
| Include | #include "DistanceCurveModifier.h" |
Syntax
UCLASS&40;&41;
class UDistanceCurveModifier : public UAnimationModifier
Remarks
Extracts traveling distance information from root motion and bakes it to a curve. A negative value indicates distance remaining to a stop or pivot point. A positive value indicates distance traveled from a start point or from the beginning of the clip.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EDistanceCurve_Axis | Axis | Axes to calculate the distance value from. | |
| bool | bStopAtEnd | Root motion is considered to be stopped at the clip's end | |
| FName | CurveName | Name for the generated curve. | |
| int32 | SampleRate | Rate used to sample the animation. | |
| float | StopSpeedThreshold | Root motion speed must be below this threshold to be considered stopped. |
Overridden from UAnimationModifier
| Type | Name | Description | |
|---|---|---|---|
| void | OnApply_Implementation
(
UAnimSequence* Animation |
||
| void | OnRevert_Implementation
(
UAnimSequence* Animation |