Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
Synchronization Mode
Timelines part of a named group can be synchronized together. When synchronization is enabled, two options are presented:
- A user specified group name can be used
- A uniquely generated group name can be used
Having an explicitly specified group name is useful to synchronize different things together (e.g. two anim sequences). However, sometimes we want certain things to synchronize only within themselves (e.g. blend space). This is called self-synchronization. This arises when we want to specify the synchronization behavior at a higher level than individual timelines. In such cases, we cannot use a user supplied group because every instance would then attempt to use the same group name, which can be problematic. Consider a blend space embedded within a sub-graph that can blend with itself (e.g. is re-entrant). This commonly occurs when blend stacks are used (e.g. through motion matching). We would like the anim sequences within the blend space to self-synchronize but we do not want those to synchronize with other instances of the same blend space. To solve this, every instance of the blend space needs a unique group name.
| Name | EAnimGroupSynchronizationMode |
| Type | enum |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/IGroupSynchronization.h |
| Include Path | #include "TraitInterfaces/IGroupSynchronization.h" |
Syntax
enum EAnimGroupSynchronizationMode
{
NoSynchronization,
SynchronizeUsingGroupName,
SynchronizeUsingUniqueGroupName,
}
Values
| Name | Remarks |
|---|---|
| NoSynchronization | This timeline host will not synchronize. |
| SynchronizeUsingGroupName | This timeline host will synchronize and use the provided group name. |
| SynchronizeUsingUniqueGroupName | This timeline host will synchronize and use a uniquely generated group name. |