Class MaterialGraphView | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class MaterialGraphView

    Inheritance
    System.Object
    MaterialGraphView
    Namespace: UnityEditor.ShaderGraph.Drawing
    Syntax
    public sealed class MaterialGraphView : GraphView

    Constructors

    MaterialGraphView()

    Declaration
    public MaterialGraphView()

    MaterialGraphView(AbstractMaterialGraph)

    Declaration
    public MaterialGraphView(AbstractMaterialGraph graph)
    Parameters
    Type Name Description
    AbstractMaterialGraph graph

    Properties

    canCopySelection

    Declaration
    protected override bool canCopySelection { get; }
    Property Value
    Type Description
    System.Boolean

    graph

    Declaration
    public AbstractMaterialGraph graph { get; }
    Property Value
    Type Description
    AbstractMaterialGraph

    onConvertToSubgraphClick

    Declaration
    public Action onConvertToSubgraphClick { get; set; }
    Property Value
    Type Description
    Action

    Methods

    BuildContextualMenu(ContextualMenuPopulateEvent)

    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>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023