Class ConnectionGUI | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ConnectionGUI

    Inheritance
    Object
    ConnectionGUI
    Namespace: UnityEngine.AssetGraph
    Syntax
    [Serializable]
    public class ConnectionGUI : ScriptableObject

    Properties

    AssetGroups

    Declaration
    public Dictionary<string, List<AssetReference>> AssetGroups { get; set; }
    Property Value
    Type Description
    Dictionary<String, List<AssetReference>>

    AssetGroupViewContext

    Declaration
    public GroupViewContext AssetGroupViewContext { get; }
    Property Value
    Type Description
    GroupViewContext

    Data

    Declaration
    public ConnectionData Data { get; }
    Property Value
    Type Description
    ConnectionData

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    String

    InputNodeId

    Declaration
    public string InputNodeId { get; }
    Property Value
    Type Description
    String

    InputPoint

    Declaration
    public ConnectionPointData InputPoint { get; }
    Property Value
    Type Description
    ConnectionPointData

    IsSelected

    Declaration
    public bool IsSelected { get; }
    Property Value
    Type Description
    Boolean

    Label

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    String

    OutputNodeId

    Declaration
    public string OutputNodeId { get; }
    Property Value
    Type Description
    String

    OutputPoint

    Declaration
    public ConnectionPointData OutputPoint { get; }
    Property Value
    Type Description
    ConnectionPointData

    Methods

    CreateConnection(String, ConnectionPointData, ConnectionPointData)

    Declaration
    public static ConnectionGUI CreateConnection(string label, ConnectionPointData output, ConnectionPointData input)
    Parameters
    Type Name Description
    String label
    ConnectionPointData output
    ConnectionPointData input
    Returns
    Type Description
    ConnectionGUI

    Delete()

    Declaration
    public void Delete()

    DrawConnection(List<NodeGUI>, Dictionary<String, List<AssetReference>>)

    Declaration
    public void DrawConnection(List<NodeGUI> nodes, Dictionary<string, List<AssetReference>> assetGroups)
    Parameters
    Type Name Description
    List<NodeGUI> nodes
    Dictionary<String, List<AssetReference>> assetGroups

    GetRect()

    Declaration
    public Rect GetRect()
    Returns
    Type Description
    Rect

    IsEqual(ConnectionPointData, ConnectionPointData)

    Declaration
    public bool IsEqual(ConnectionPointData from, ConnectionPointData to)
    Parameters
    Type Name Description
    ConnectionPointData from
    ConnectionPointData to
    Returns
    Type Description
    Boolean

    LoadConnection(ConnectionData, ConnectionPointData, ConnectionPointData)

    Declaration
    public static ConnectionGUI LoadConnection(ConnectionData data, ConnectionPointData output, ConnectionPointData input)
    Parameters
    Type Name Description
    ConnectionData data
    ConnectionPointData output
    ConnectionPointData input
    Returns
    Type Description
    ConnectionGUI

    SetActive(Boolean)

    Declaration
    public void SetActive(bool active)
    Parameters
    Type Name Description
    Boolean active
    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