FGraphTraversalCounter

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimTypes.h

Include

#include "Animation/AnimTypes.h"

Syntax

struct FGraphTraversalCounter

Constructors

Name Description

Public function

FGraphTraversalCounter()

Functions

Name Description

Public function Const

int16

 

Get()

Public function Const

int16

 

GetMaxSkippedFrames()

Gets the number of expected frames to be skipped by URO

Public function Const

bool

 

HasEverBeenUpdated()

Public function

void

 

Increment()

Increases the internal counter, and refreshes the current global frame counter

Public function Const

bool

 

IsSynchronized_All

(
    const FGraphTraversalCounter& InOt...
)

Check that both the internal counter and global frame are both in sync between this counter and another

Public function Const

bool

 

IsSynchronized_Counter

(
    const FGraphTraversalCounter& InOt...
)

Check whether the internal counter is synchronized between this and another counter

Public function Const

bool

 

IsSynchronized_Frame

(
    const FGraphTraversalCounter& InOt...
)

Check whether this counter and another were synchronized on the same global frame

Public function

void

 

Reset()

Clear the internal counters and frame skip

Public function

void

 

SetMaxSkippedFrames

(
    int16 InMaxSkippedFrames
)

Sets the number of expected frames to be skipped by URO

Public function

void

 

SynchronizeWith

(
    const FGraphTraversalCounter& InMa...
)

Sync this counter with another counter

Public function Const

bool

 

WasSynchronizedCounter

(
    const FGraphTraversalCounter& InOt...
)

Check if this counter is either synchronized with another or is one update behind

Public function Const

bool

 

WasSynchronizedLastFrame

(
    const FGraphTraversalCounter& InOt...
)

Check whether this counter and another were either synchronized this global frame or were synced one frame interval previously.

Deprecated Functions

Name Description

Public function Const

bool

 

IsSynchronizedWith

(
    const FGraphTraversalCounter& InMa...
)

Use the specific IsSynchronized_* functions to determing sync state

Public function Const

bool

 

WasSynchronizedInTheLastFrame

(
    const FGraphTraversalCounter& InMa...
)

Use the specific WasSynchronizedLast* functions to determine sync state

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss