FGraphCompilerContext::FindNodeByClass

Scans a graph for a node of the specified class.

Unreal Engine C++ API Reference > Editor > KismetCompiler > FGraphCompilerContext

References

   
Module KismetCompiler
Header /Engine/Source/Editor/KismetCompiler/Public/EdGraphCompilerUtilities.h
Include #include "EdGraphCompilerUtilities.h"
Source /Engine/Source/Editor/KismetCompiler/Private/EdGraphCompiler.cpp
[UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * FindNodeByClass
(
    const [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * Graph,
    [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) > NodeClass,
    bool bExpectedUnique
) const

Remarks

Scans a graph for a node of the specified class. Can optionally continue scanning and print errors if additional nodes of the same category are found.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library