You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-131734 #rb helge.mathee #preflight 6172abfceeaa6c00017ff565 #ROBOMERGE-AUTHOR: sara.schvartzman #ROBOMERGE-SOURCE: CL 17904076 in //UE5/Release-5.0/... via CL 17904086 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v883-17842818) #ROBOMERGE[STARSHIP]: UE5-Main [CL 17904089 by sara schvartzman in ue5-release-engine-test branch]
60 lines
1.4 KiB
C++
60 lines
1.4 KiB
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;
|
|
|
|
// Returns the current user provided font size of this comment.
|
|
UFUNCTION(BlueprintCallable, Category = RigVMCommentNode)
|
|
int32 GetCommentFontSize() const;
|
|
|
|
// Returns the current user provided bubble visibility of this comment.
|
|
UFUNCTION(BlueprintCallable, Category = RigVMCommentNode)
|
|
bool GetCommentBubbleVisible() const;
|
|
|
|
// Returns the current user provided bubble color inheritance of this comment.
|
|
UFUNCTION(BlueprintCallable, Category = RigVMCommentNode)
|
|
bool GetCommentColorBubble() const;
|
|
|
|
private:
|
|
|
|
UPROPERTY()
|
|
FString CommentText;
|
|
|
|
UPROPERTY()
|
|
int32 FontSize;
|
|
|
|
UPROPERTY()
|
|
bool bBubbleVisible;
|
|
|
|
UPROPERTY()
|
|
bool bColorBubble;
|
|
|
|
friend class URigVMController;
|
|
};
|
|
|