FGraphTraversalCounter::WasSynchronizedLastFrame

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

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimTypes.h"

Syntax

bool WasSynchronizedLastFrame
(
    const FGraphTraversalCounter & InOtherCounter
) const

Remarks

Check whether this counter and another were either synchronized this global frame or were synced one frame interval previously. A frame interval is the size of SkipFrames. This means that if under URO a number of frames are skipped, this check will consider counters from the last frame before the skip and the first frame after the skip as "was synchronized"

Use this to test whether or not there's been a period when the owning animation instance has not been updated.

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