Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode.h |
Include |
#include "MaterialGraph/MaterialGraphNode.h" |
class UMaterialGraphNode : public UMaterialGraphNode_Base
Name | Description | ||
---|---|---|---|
|
bIsErrorExpression |
Set to true if this expression causes an error in the material |
|
|
bIsPreviewExpression |
Set to true if this expression is currently being previewed |
|
|
bPreviewNeedsUpdate |
Set to true when Expression Preview compiles, so we can update SGraphNode |
|
|
FSimpleDelegate |
InvalidatePreviewMaterialDelegate |
Called when the preview material attached to this graph node needs to be updated |
|
MaterialDirtyDelegate |
Marks the Material Editor as dirty so that user prompted to apply change |
|
|
TObjectPtr< cla... |
MaterialExpression |
Material Expression this node is representing |
|
RealtimeDelegate |
Checks if Material Editor is in realtime mode, so we update SGraphNode every frame |
Name | Description | |
---|---|---|
|
UMaterialGraphNode ( |
Name | Description | ||
---|---|---|---|
|
FMaterialRen... |
GetExpressionPreview() |
Get the expression preview for this node |
|
GetShortenPinName ( |
Will return the shorten pin name to use based on long pin name |
|
|
PostCopyNode() |
Fix up the node's owner after being copied |
|
|
RecreateAndLinkNode() |
Recreate this node's pins and relink the Graph from the Material |
Name | Description | ||
---|---|---|---|
|
CreateInputPins() |
Create all of the input pins required |
|
|
CreateOutputPins() |
Create all of the output pins required |
|
|
GetPinMaterialType ( |
Name | Description | ||
---|---|---|---|
|
CanPasteHere ( |
Determine if this node can live in the specified graph |
|
|
CanUserDeleteNode() |
Whether or not this node can be deleted by user action |
|
|
GetDocumentationExcerptName() |
Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix) |
|
|
GetNodeContextMenuActions ( |
Gets a list of actions that can be done to this particular node |
|
|
GetNodeTitle ( |
Gets the name of this node, shown in title bar |
|
|
GetNodeTitleColor() |
Gets the draw color of a node's title bar |
|
|
GetPinHoverText ( |
Fetch the hover text for a pin when the graph is being edited. |
|
|
GetTooltipText() |
Gets the tooltip to display when over the node |
|
|
NodeConnectionListChanged() |
Called when something external to this node has changed the connection list of any of the pins in the node |
|
|
OnCommentBubbleToggled ( |
Called when the node's comment bubble is toggled |
|
|
OnRenameNode ( |
Called when this node is being renamed after a successful name validation |
|
|
OnUpdateCommentText ( |
Called to replace this nodes comment text |
|
|
PostPlacedNewNode() |
A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called. |
|
|
PrepareForCopying() |
Perform any steps necessary prior to copying a node into the paste buffer |
Name | Description | ||
---|---|---|---|
|
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
|
PostEditChangeProperty ( |
Get the Material value type of an output pin |
|
|
PostEditImport() |
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 |