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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback