FMaterialGraphSchemaAction_NewNode

Action to add an expression node to the graph

Windows
MacOS
Linux

Inheritance Hierarchy

FEdGraphSchemaAction

FMaterialGraphSchemaAction_NewNode

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h

Include

#include "MaterialGraph/MaterialGraphSchema.h"

Syntax

struct FMaterialGraphSchemaAction_NewNode : public FEdGraphSchemaAction

Remarks

Action to add an expression node to the graph

Variables

Name Description

Public variable

UClass *

 

MaterialExpressionClass

Class of expression we want to create

Constructors

Name Description

Public function

FMaterialGraphSchemaAction_NewNode()

Public function

FMaterialGraphSchemaAction_NewNode

(
    FText InNodeCategory,
    FText InMenuDesc,
    FText InToolTip,
    const int32 InGrouping,
    FText InKeywords
)

Functions

Name Description

Public function Const

void

 

SetFunctionInputType

(
    UMaterialExpressionFunctionInput&#...,
    uint32 MaterialValueType
)

Sets the type of a Function input based on an EMaterialValueType value.

Public function Static

FName

 

StaticGetTypeId()

Simple type info.

Overridden from FEdGraphSchemaAction

Name Description

Public function Virtual Const

FName

 

GetTypeId()

Public function Virtual

UEdGraphNode...

 

PerformAction

(
    UEdGraph* ParentGraph,
    UEdGraphPin* FromPin,
    const FVector2D Location,
    bool bSelectNewNode
)

Execute this action, given the graph and schema, and possibly a pin that we were dragged from.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss