Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | UMaterialGraphNode_Base |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode_Base.h |
| Include Path | #include "MaterialGraph/MaterialGraphNode_Base.h" |
Syntax
UCLASS (MinimalAPI, Optional)
class UMaterialGraphNode_Base : public UEdGraphNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UMaterialGraphNode_Base
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialGraphNode_Base
(
const FObjectInitializer& ObjectInitializer |
MaterialGraph/MaterialGraphNode_Base.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateInputPins() |
Create all of the input pins required | MaterialGraph/MaterialGraphNode_Base.h | |
virtual void CreateOutputPins() |
Create all of the output pins required | MaterialGraph/MaterialGraphNode_Base.h | |
UEdGraphPin * GetExecInputPin() |
Gets the exec input pin | MaterialGraph/MaterialGraphNode_Base.h | |
UEdGraphPin * GetExecOutputPin
(
int32 OutputIndex |
Get a single exec Output Pin via its index | MaterialGraph/MaterialGraphNode_Base.h | |
UEdGraphPin * GetInputPin
(
int32 InputIndex |
Get a single Input Pin via its index | MaterialGraph/MaterialGraphNode_Base.h | |
EMaterialValueType GetInputValueType
(
const UEdGraphPin* InputPin |
Get the Material value type of an input pin | MaterialGraph/MaterialGraphNode_Base.h | |
virtual UObject * GetMaterialNodeOwner() |
Gets the object that owns this node, typically either a UMaterial, UMaterialFunction, UMaterialExpression | MaterialGraph/MaterialGraphNode_Base.h | |
UEdGraphPin * GetOutputPin
(
int32 OutputIndex |
Get a single Output Pin via its index | MaterialGraph/MaterialGraphNode_Base.h | |
uint32 GetOutputType
(
const UEdGraphPin* OutputPin |
MaterialGraph/MaterialGraphNode_Base.h | ||
EMaterialValueType GetOutputValueType
(
const UEdGraphPin* OutputPin |
Get the Material value type of an output pin | MaterialGraph/MaterialGraphNode_Base.h | |
virtual int32 GetSourceIndexForInputIndex
(
int32 InputIndex |
Returns the SourceIndex associated with a particular FMaterialConnectionKey::InputIndex | MaterialGraph/MaterialGraphNode_Base.h | |
void InsertNewNode
(
UEdGraphPin* FromPin, |
Handles inserting the node between the FromPin and what the FromPin was original connected to | MaterialGraph/MaterialGraphNode_Base.h | |
virtual bool IsRootNode() |
Is this the undeletable root node | MaterialGraph/MaterialGraphNode_Base.h | |
void ReplaceNode
(
UMaterialGraphNode_Base* OldNode |
Replace a given node with this one, changing all pin links | MaterialGraph/MaterialGraphNode_Base.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AllocateDefaultPins() |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual void AutowireNewNode
(
UEdGraphPin* FromPin |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual bool CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* Schema |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual FString GetDocumentationLink() |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual void PostPasteNode() |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual void ReconstructNode() |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual void RemovePinAt
(
const int32 PinIndex, |
MaterialGraph/MaterialGraphNode_Base.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EmptyPins() |
MaterialGraph/MaterialGraphNode_Base.h | ||
UEdGraphPin * GetInputPin
(
const FName& PinName |
Return the first input pin matching the name | MaterialGraph/MaterialGraphNode_Base.h | |
virtual EMaterialValueType GetPinMaterialValueType
(
const UEdGraphPin* Pin |
MaterialGraph/MaterialGraphNode_Base.h | ||
void ModifyAndCopyPersistentPinData
(
UEdGraphPin& TargetPin, |
MaterialGraph/MaterialGraphNode_Base.h | ||
virtual void PropagatePropertyChange() |
Used when changing one property may affect the preview of subsequent properties | MaterialGraph/MaterialGraphNode_Base.h |