UAnimGraphNode_LinkedAnimGraphBase::HasInstanceLoop_Recursive

Finds out whether there is a loop in the graph formed by linked instances from CurrNode, used by HasInstanceLoop.

Windows
MacOS
Linux

References

Module

AnimGraph

Header

/Engine/Source/Editor/AnimGraph/Classes/AnimGraphNode_LinkedAnimGraphBase.h

Include

#include "AnimGraphNode_LinkedAnimGraphBase.h"

Source

/Engine/Source/Editor/AnimGraph/Private/AnimGraphNode_LinkedAnimGraphBase.cpp

Syntax

static bool HasInstanceLoop_Recursive
(
    UAnimGraphNode_LinkedAnimGraphBase * CurrNode,
    TArray< FGuid > & VisitedNodes,
    TArray< FGuid > & NodeStack
)

Remarks

Finds out whether there is a loop in the graph formed by linked instances from CurrNode, used by HasInstanceLoop. VisitedNodes and NodeStack are required to track the graph links VisitedNodes - Node we have searched the links of, so we don't do it twice NodeStack - The currently considered chain of nodes. If a loop is detected this will contain the chain that causes the loop

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