Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/MaterialGraph
Inheritance Hierarchy
- UEdGraphSchema
- UMaterialGraphSchema
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h |
| Include | #include "MaterialGraph/MaterialGraphSchema.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialGraphSchema : public UEdGraphSchema
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialGraphSchema
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ArePinsCompatible_Internal
(
const UEdGraphPin* InputPin, |
Check whether the types of pins are compatible | |
| void | BreakNodeLinks
(
UEdGraphNode& TargetNode |
||
| void | BreakPinLinks
(
UEdGraphPin& TargetPin, |
||
| void | BreakSinglePinLink
(
UEdGraphPin* SourcePin, |
||
| const FPinConnectionResponse | CanCreateConnection
(
const UEdGraphPin* A, |
||
| bool | CanEncapuslateNode
(
UEdGraphNode const& TestNode |
||
| bool | ConnectionCausesLoop
(
const UEdGraphPin* InputPin, |
Check whether connecting these pins would cause a loop | |
| void | DroppedAssetsOnGraph
(
const TArray< struct FAssetData >& Assets, |
||
| void | |||
| float | |||
| void | GetAssetsGraphHoverMessage
(
const TArray< FAssetData >& Assets, |
||
| void | GetBreakLinkToSubMenuActions
(
UToolMenu* Menu, |
Get menu for breaking links to specific nodes | |
| void | GetContextMenuActions
(
UToolMenu* Menu, |
||
| TSharedPtr< FEdGraphSchemaAction > | |||
| int32 | |||
| void | GetGraphContextActions
(
FGraphContextMenuBuilder& ContextMenuBuilder |
||
| uint32 | GetMaterialValueType
(
const UEdGraphPin* MaterialPin |
Gets the type of this pin (must be part of a UMaterialGraphNode_Base) | |
| int32 | GetNodeSelectionCount
(
const UEdGraph* Graph |
||
| void | GetPaletteActions
(
FGraphActionMenuBuilder& ActionMenuBuilder, |
||
| FLinearColor | GetPinTypeColor
(
const FEdGraphPinType& PinType |
||
| FGraphSchemaSearchWeightModifiers | |||
| bool | IsCacheVisualizationOutOfDate
(
int32 InVisualizationCacheID |
||
| void | MarkMaterialDirty
(
const UEdGraph* Graph |
Mark the material as dirty (because of a change that shouldn't trigger recompile or preview update) | |
| void | OnConnectToFunctionOutput
(
UEdGraphPin* InGraphPin, |
Connect a pin to one of the Material Function's outputs | |
| void | OnConnectToMaterial
(
UEdGraphPin* InGraphPin, |
Connect a pin to one of the Material's inputs | |
| void | OnPinConnectionDoubleCicked
(
UEdGraphPin* PinA, |
||
| bool | SafeDeleteNodeFromGraph
(
UEdGraph* Graph, |
||
| void | SelectAllInputNodes
(
UEdGraph* Graph, |
Add all linked to nodes to this pin to selection | |
| bool | TryCreateConnection
(
UEdGraphPin* A, |
||
| void | UpdateDetailView
(
const UEdGraph* Graph |
Update the detail view | |
| void | UpdateMaterialOnDefaultValueChanged
(
const UEdGraph* Graph |
Update material when the default value of a material node's pin has changed |
Constants
| Name | Description |
|---|---|
| ActivePinColor | Color of certain pins/connections. |
| AlphaPinColor | |
| CurrentCacheRefreshID | ID for checking dirty status of node titles against, increases whenever. |
| InactivePinColor | |
| PC_Exec | |
| PC_Mask | Allowable PinType.PinCategory values. |
| PC_MaterialInput | |
| PC_Optional | |
| PC_Required | |
| PC_ValueType | |
| PC_Void | |
| PN_Execute | |
| PSC_Alpha | |
| PSC_Blue | |
| PSC_Bool | |
| PSC_Byte | |
| PSC_Float | |
| PSC_Green | |
| PSC_Int | |
| PSC_Red | Common PinType.PinSubCategory values. |
| PSC_RG | |
| PSC_RGB | |
| PSC_RGBA | |
| PSC_Vector4 |