Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/MaterialGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UMaterialGraphNode_Base
- UMaterialGraphNode
- UMaterialGraphNode_Composite
- UMaterialGraphNode_Knot
- UMaterialGraphNode_PinBase
- UMaterialGraphNode_Root
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode_Base.h |
| Include | #include "MaterialGraph/MaterialGraphNode_Base.h" |
Syntax
class UMaterialGraphNode_Base : public UEdGraphNode
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialGraphNode_Base
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Create all of the input pins required | ||
| void | Create all of the output pins required | ||
| void | EmptyPins () |
||
| UEdGraphPin * | Gets the exec input pin | ||
| UEdGraphPin * | GetExecOutputPin
(
int32 OutputIndex |
Get a single exec Output Pin via its index | |
| UEdGraphPin * | GetInputPin
(
int32 InputIndex |
Get a single Input Pin via its index | |
| UEdGraphPin * | GetInputPin
(
const FName& PinName |
Return the first input pin matching the name | |
| uint32 | GetInputType
(
const UEdGraphPin* InputPin |
Get the Material value type of an input pin | |
| UObject * | Gets the object that owns this node, typically either a UMaterial, UMaterialFunction, UMaterialExpression | ||
| UEdGraphPin * | GetOutputPin
(
int32 OutputIndex |
Get a single Output Pin via its index | |
| uint32 | GetOutputType
(
const UEdGraphPin* OutputPin |
Get the Material value type of an output pin | |
| uint32 | GetPinMaterialType
(
const UEdGraphPin* Pin |
||
| int32 | GetSourceIndexForInputIndex
(
int32 InputIndex |
Returns the SourceIndex associated with a particular FMaterialConnectionKey::InputIndex | |
| void | InsertNewNode
(
UEdGraphPin* FromPin, |
Handles inserting the node between the FromPin and what the FromPin was original connected to | |
| bool | IsRootNode () |
Is this the undeletable root node | |
| void | ModifyAndCopyPersistentPinData
(
UEdGraphPin& TargetPin, |
||
| void | ReplaceNode
(
UMaterialGraphNode_Base* OldNode |
Replace a given node with this one, changing all pin links |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate default pins for a given node, based only the NodeType, which should already be filled in. | ||
| void | AutowireNewNode
(
UEdGraphPin* FromPin |
Autowire a newly created node. | |
| bool | CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* Schema |
Determine if this node can be created under the specified schema | |
| FString | Returns the link used for external documentation for the graph node | ||
| void | Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor | ||
| void | Refresh the connectors on a node, preserving as many connections as it can. | ||
| void | RemovePinAt
(
const int32 PinIndex, |
Removes the specified pin from the node, preserving remaining pin ordering. |