docs.unity.cn
    Show / Hide Table of Contents

    Class PortData

    Class PortData.

    Inheritance
    Object
    PortData
    Namespace: Mechatronics.SystemGraph
    Syntax
    [Serializable]
    public class PortData

    Fields

    Direction

    The direction

    Declaration
    public PortDirection Direction
    Field Value
    Type Description
    PortDirection

    DisplayName

    The display name

    Declaration
    public string DisplayName
    Field Value
    Type Description
    String

    Extra

    The extra

    Declaration
    public FieldExtra Extra
    Field Value
    Type Description
    FieldExtra

    FieldBox

    The field box

    Declaration
    [NonSerialized]
    public IFieldBox FieldBox
    Field Value
    Type Description
    IFieldBox

    PortType

    The port type

    Declaration
    public SerializableType PortType
    Field Value
    Type Description
    SerializableType

    Tooltip

    The tooltip

    Declaration
    public string Tooltip
    Field Value
    Type Description
    String

    Properties

    Port

    Gets the port.

    Declaration
    public IPortType Port { get; }
    Property Value
    Type Description
    IPortType

    The port.

    Methods

    IsAssigned()

    Determines whether this instance is assigned.

    Declaration
    public bool IsAssigned()
    Returns
    Type Description
    Boolean

    true if this instance is assigned; otherwise, false.

    SetInstance(IPortType)

    Sets the instance.

    Declaration
    public void SetInstance(IPortType instance)
    Parameters
    Type Name Description
    IPortType instance

    The instance.

    Synchronize()

    Synchronizes this instance.

    Declaration
    public void Synchronize()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use