Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/MaterialGraph > API/Editor/UnrealEd/MaterialGraph/UMaterialGraphSchema
- UEdGraphSchema::TryCreateConnection()
- UMaterialGraphSchema::TryCreateConnection()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h |
| Include | #include "MaterialGraph/MaterialGraphSchema.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/MaterialGraphSchema.cpp |
virtual bool TryCreateConnection
&40;
UEdGraphPin &42; A,
UEdGraphPin &42; B
&41; const
Remarks
Try to make a connection between two pins. True if a connection was made/broken (graph was modified); false if the connection failed and had no side effects.
Parameters
| Name | Description |
|---|---|
| A | The first pin. |
| B | The second pin. |