FGraphDiffControl::FNodeMatch::Diff

Looks at the two node members and compares them to see if there are any differences.

Unreal Engine C++ API Reference > Editor > GraphEditor > FGraphDiffControl > FNodeMatch > Diff

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/GraphDiffControl.h
Include #include "GraphDiffControl.h"
Source /Engine/Source/Editor/GraphEditor/Private/GraphDiffControl.cpp
bool Diff
&40;
    const FNodeDiffContext & DiffContext,
    FDiffResults & DiffsOut
&41; const

Remarks

Looks at the two node members and compares them to see if there are any differences. If one of the nodes is nullptr, then this will return true with a EDiffType::NODE_ADDED result. True if there were differences found, false if the two nodes are identical.

Parameters

Name Description
DiffsArrayOut If supplied, this will be filled out with all the differences that were found.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library