URigVMController::AddCommentNode

Adds a Comment Node to the edited Graph.

Windows
MacOS
Linux

References

Module

RigVMDeveloper

Header

/Engine/Source/Developer/RigVMDeveloper/Public/RigVMModel/RigVMController.h

Include

#include "RigVMModel/RigVMController.h"

Source

/Engine/Source/Developer/RigVMDeveloper/Private/RigVMModel/RigVMController.cpp

Syntax

URigVMCommentNode * AddCommentNode
(
    const FString & InCommentText,
    const FVector2D & InPosition,
    const FVector2D & InSize,
    const FLinearColor & InColor,
    const FString & InNodeName,
    bool bSetupUndoRedo,
    bool bPrintPythonCommand
)

Remarks

Adds a Comment Node to the edited Graph. Comments can be used to annotate the Graph. This causes a NodeAdded modified event.