Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/DecoratorInterfaces
Inheritance Hierarchy
- IDecoratorInterface
- ITimeline
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/DecoratorInterfaces/ITimeline.h |
| Include | #include "DecoratorInterfaces/ITimeline.h" |
Syntax
struct ITimeline : public UE::AnimNext::IDecoratorInterface
Remarks
This interface exposes timeline related information.
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | AdvanceBy
(
const FExecutionContext& Context, |
Advances time by the provided delta time (positive or negative) on this timeline Returns the progress ratio of playback: 0.0 = start of animation, 1.0 = end of animation | |
| void | AdvanceToRatio
(
const FExecutionContext& Context, |
Advances time to the specified progress ratio on this timeline Progress ratio must be between [0.0, 1.0] | |
| float | GetPlayRate
(
const FExecutionContext& Context, |
Returns the play rate of this timeline. |
Overridden from IDecoratorInterface
| Type | Name | Description | |
|---|---|---|---|
| UE::AnimNext::FDecoratorInterfaceUID |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |