docs.unity.cn
    Show / Hide Table of Contents

    Class NodeDescriptor

    NodeDescriptor stores the node information attached to SystemGraph assets.

    Inheritance
    Object
    NodeDescriptor
    Namespace: Mechatronics.SystemGraph
    Syntax
    public class NodeDescriptor

    Fields

    dimension

    The dimension of this node descriptor

    Declaration
    public Vector3 dimension
    Field Value
    Type Description
    Vector3

    MapPort

    The map of ports of this node descriptor

    Declaration
    public Dictionary<string, PortDescriptor> MapPort
    Field Value
    Type Description
    Dictionary<String, PortDescriptor>

    serializedNode

    The serialized node

    Declaration
    public SerializedNode serializedNode
    Field Value
    Type Description
    SerializedNode

    Methods

    GetPosition()

    Gets the node position.

    Declaration
    public Rect GetPosition()
    Returns
    Type Description
    Rect

    Rect position.

    SetPosition(Rect)

    Sets the node position.

    Declaration
    public void SetPosition(Rect rc)
    Parameters
    Type Name Description
    Rect rc

    The node rect.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use