Navigation
API > API/Editor > API/Editor/UnrealEd
Action to add an expression node to the graph
| Name | FMaterialGraphSchemaAction_NewNode |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h |
| Include Path | #include "MaterialGraph/MaterialGraphSchema.h" |
Syntax
USTRUCT ()
struct FMaterialGraphSchemaAction_NewNode : public FEdGraphSchemaAction
Inheritance Hierarchy
- FEdGraphSchemaAction → FMaterialGraphSchemaAction_NewNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MaterialGraph/MaterialGraphSchema.h | |||
FMaterialGraphSchemaAction_NewNode
(
FText InNodeCategory, |
MaterialGraph/MaterialGraphSchema.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaterialExpressionClass | TObjectPtr< class UClass > | Class of expression we want to create | MaterialGraph/MaterialGraphSchema.h | |
| PostCreationDelegate | TDelegate< void(UMaterialExpression *)> | Delegate to be run immediately after expression of class 'MaterialExpressionClass' is created | MaterialGraph/MaterialGraphSchema.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetFunctionInputType
(
UMaterialExpressionFunctionInput* FunctionInput, |
Sets the type of a Function input based on an EMaterialValueType value. | MaterialGraph/MaterialGraphSchema.h | |
void SetFunctionInputType
(
UMaterialExpressionFunctionInput* FunctionInput, |
MaterialGraph/MaterialGraphSchema.h |
Overridden from FEdGraphSchemaAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetTypeId() |
MaterialGraph/MaterialGraphSchema.h | ||
virtual UEdGraphNode * PerformAction
(
UEdGraph* ParentGraph, |
MaterialGraph/MaterialGraphSchema.h | ||
virtual UEdGraphNode * PerformAction
(
UEdGraph* ParentGraph, |
MaterialGraph/MaterialGraphSchema.h | ||
virtual UEdGraphNode * PerformAction
(
UEdGraph* ParentGraph, |
MaterialGraph/MaterialGraphSchema.h | ||
virtual UEdGraphNode * PerformAction
(
UEdGraph* ParentGraph, |
MaterialGraph/MaterialGraphSchema.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName StaticGetTypeId() |
Simple type info. | MaterialGraph/MaterialGraphSchema.h |