Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph > API/Plugins/AnimNextAnimGraph/TraitInterfaces
Inheritance Hierarchy
- ITraitInterface
- ITimeline
References
| Module | AnimNextAnimGraph |
| Header | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/ITimeline.h |
| Include | #include "TraitInterfaces/ITimeline.h" |
Syntax
struct ITimeline : public UE::AnimNext::ITraitInterface
Remarks
This interface exposes timeline related information.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FTimelineProgress | AdvanceBy
(
FExecutionContext& Context, |
Advances time by the provided delta time (positive or negative) on this timeline Returns the progress of playback | |
| void | AdvanceToRatio
(
FExecutionContext& Context, |
Advances time to the specified progress ratio on this timeline Progress ratio must be between [0.0, 1.0] | |
| float | GetPlayRate
(
FExecutionContext& Context, |
Returns the play rate of this timeline. | |
| FTimelineProgress | GetProgress
(
FExecutionContext& Context, |
Returns the progress of this timeline. | |
| FTimelineProgress | SimulateAdvanceBy
(
FExecutionContext& Context, |
Simulates the advance of time by the provided delta time (positive or negative) on this timeline Returns the progress of playback |
Overridden from ITraitInterface
| Type | Name | Description | |
|---|---|---|---|
| const FText & | Human readable interface names, in long and short format. | ||
| const FText & | Human readable interface names, in short format (ideally 3 or 4 letters, due to space restrictions in the editor) | ||
| UE::AnimNext::FTraitInterfaceUID |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |