You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb: none #fyi: Laurent.Delayen, Thomas.Sarkanen [CL 11088765 by Lina Halper in Main branch]
39 lines
868 B
C++
39 lines
868 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "RigVMModel/RigVMNode.h"
|
|
#include "RigVMCommentNode.generated.h"
|
|
|
|
/**
|
|
* Comment Nodes can be used to annotate a Graph by adding
|
|
* colored grouping as well as user provided text.
|
|
* Comment Nodes are purely cosmetic and don't contribute
|
|
* to the runtime result of the Graph / Function.
|
|
*/
|
|
UCLASS(BlueprintType)
|
|
class RIGVMDEVELOPER_API URigVMCommentNode : public URigVMNode
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
// Default constructor
|
|
URigVMCommentNode();
|
|
|
|
// Override of node title
|
|
virtual FString GetNodeTitle() const override { return GetCommentText(); }
|
|
|
|
// Returns the current user provided text of this comment.
|
|
UFUNCTION(BlueprintCallable, Category = RigVMCommentNode)
|
|
FString GetCommentText() const;
|
|
|
|
private:
|
|
|
|
UPROPERTY()
|
|
FString CommentText;
|
|
|
|
friend class URigVMController;
|
|
};
|
|
|