Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimTypes.h |
| Include | #include "Animation/AnimTypes.h" |
Syntax
struct FGraphTraversalCounter
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int16 | Get () |
||
| int16 | Gets the number of expected frames to be skipped by URO | ||
| bool | |||
| void | Increment () |
Increases the internal counter, and refreshes the current global frame counter | |
| bool | IsSynchronized_All
(
const FGraphTraversalCounter& InOtherCounter |
Check that both the internal counter and global frame are both in sync between this counter and another | |
| bool | IsSynchronized_Counter
(
const FGraphTraversalCounter& InOtherCounter |
Check whether the internal counter is synchronized between this and another counter | |
| bool | IsSynchronized_Frame
(
const FGraphTraversalCounter& InOtherCounter |
Check whether this counter and another were synchronized on the same global frame | |
| bool | IsSynchronizedWith
(
const FGraphTraversalCounter& InMasterCounter |
||
| void | Reset () |
Clear the internal counters and frame skip | |
| void | SetMaxSkippedFrames
(
int16 InMaxSkippedFrames |
Sets the number of expected frames to be skipped by URO | |
| void | SynchronizeWith
(
const FGraphTraversalCounter& InMasterCounter |
Sync this counter with another counter | |
| bool | WasSynchronizedCounter
(
const FGraphTraversalCounter& InOtherCounter |
Check if this counter is either synchronized with another or is one update behind | |
| bool | WasSynchronizedInTheLastFrame
(
const FGraphTraversalCounter& InMasterCounter |
||
| bool | WasSynchronizedLastFrame
(
const FGraphTraversalCounter& InOtherCounter |
Check whether this counter and another were either synchronized this global frame or were synced one frame interval previously. |