Class MaterialGraphView
Inheritance
System.Object
MaterialGraphView
Syntax
public sealed class MaterialGraphView : GraphView
Constructors
MaterialGraphView()
Declaration
public MaterialGraphView()
MaterialGraphView(AbstractMaterialGraph)
Declaration
public MaterialGraphView(AbstractMaterialGraph graph)
Parameters
Properties
canCopySelection
Declaration
protected override bool canCopySelection { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
graph
Declaration
public AbstractMaterialGraph graph { get; }
Property Value
onConvertToSubgraphClick
Declaration
public Action onConvertToSubgraphClick { get; set; }
Property Value
Methods
Declaration
public override void BuildContextualMenu(ContextualMenuPopulateEvent evt)
Parameters
| Type |
Name |
Description |
| ContextualMenuPopulateEvent |
evt |
|
GetCompatiblePorts(Port, NodeAdapter)
Declaration
public override List<Port> GetCompatiblePorts(Port startAnchor, NodeAdapter nodeAdapter)
Parameters
| Type |
Name |
Description |
| Port |
startAnchor |
|
| NodeAdapter |
nodeAdapter |
|
Returns
| Type |
Description |
| List<Port> |
|