Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph > API/Plugins/AnimNextAnimGraph/TraitInterfaces
Inheritance Hierarchy
- ITraitInterface
- IGroupSynchronization
References
| Module | AnimNextAnimGraph |
| Header | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/IGroupSynchronization.h |
| Include | #include "TraitInterfaces/IGroupSynchronization.h" |
Syntax
struct IGroupSynchronization : public UE::AnimNext::ITraitInterface
Remarks
This interface exposes group synchronization related information and behavior.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FTimelineProgress | AdvanceBy
(
FExecutionContext& Context, |
Called by the sync group graph instance component once a group has been synchronized to advance time on the leader Returns the progress ratio of playback: 0.0 = start of animation, 1.0 = end of animation | |
| void | AdvanceToRatio
(
FExecutionContext& Context, |
Called by the sync group graph instance component once a group has been synchronized to advance time on each follower Progress ratio must be between [0.0, 1.0] | |
| FName | GetGroupName
(
FExecutionContext& Context, |
Returns the group name used for synchronization. | |
| EAnimGroupRole::Type | GetGroupRole
(
FExecutionContext& Context, |
Returns the group role used for synchronization. |
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 |