Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > MaterialGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UEdGraphNode_Comment
- UMaterialGraphNode_Comment
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode_Comment.h |
Include | #include "MaterialGraph/MaterialGraphNode_Comment.h" |
Syntax
class UMaterialGraphNode_Comment : public UEdGraphNode_Comment
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FSetMaterialDirty | MaterialDirtyDelegate | Marks the Material Editor as dirty so that user prompted to apply change |
![]() |
TObjectPtr< class UMaterialExpressionComment > | MaterialExpressionComment | Material Comment that this node represents |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialGraphNode_Comment
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | PostCopyNode () |
Fix up the node's owner after being copied |
Overridden from UEdGraphNode_Comment
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
int32 | GetFontSize () |
Return the font size of the comment |
Overridden from UEdGraphNode
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* Schema |
Determine if this node can be created under the specified schema |
![]() ![]() ![]() |
void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
Gets a list of actions that can be done to this particular node |
![]() ![]() |
void | OnRenameNode
(
const FString& NewName |
Called when this node is being renamed after a successful name validation |
![]() ![]() |
void | A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called. | |
![]() ![]() |
void | Perform any steps necessary prior to copying a node into the paste buffer | |
![]() ![]() |
void | ResizeNode
(
const FVector2D& NewSize |
Update node size to new value |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization |