docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IPortEditor

    IPortEditor interface to support port editors.

    Inheritance
    object
    IPortEditor
    PortEditor<T>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class IPortEditor

    Constructors

    Name Description
    IPortEditor(INodeEditor, Type, string, string, string, object, PortDirection, FieldExtra, bool)

    Initializes a new instance of the IPortEditor class.

    Fields

    Name Description
    _acceptsConnections

    Accept connections when true

    _field

    The field type

    _gMapFnc

    The map of functions according to generics enclosed type.

    Properties

    Name Description
    AcceptsConnections

    Gets or sets a value indicating whether [accepts connections].

    ChildPorts

    Gets the child ports.

    DataBind

    Gets the data bind.

    Descriptor

    Gets the descriptor.

    DisplayName

    Gets or sets the display name.

    EditorElement

    Gets or sets the editor element.

    Field

    Gets or sets the field.

    FieldRW

    Gets or sets the field extra settings.

    Guid

    Gets or sets the unique identifier.

    IsChildPort

    Gets or sets a value indicating whether this instance is child port.

    IsInputSlot

    Gets a value indicating whether this instance is input slot.

    IsOutputSlot

    Gets a value indicating whether this instance is output slot.

    MemberName

    Gets or sets the name of the member.

    Owner

    Gets the owner.

    PortDirection

    Gets or sets the port direction.

    Promiscuous

    Gets a value indicating whether this IPortEditor is promiscuous.

    RootName

    Gets the name of the root.

    ToolTip

    Gets the tool tip.

    ValueType

    Gets the type of the value.

    Methods

    Name Description
    ContainsTypeDefinition(Type)

    Determines whether the PortEditor contains a definition for type t.

    DefaultRefreshEditor(IPortEditor, VisualElement, bool)

    Default refresh editor handler.

    ~IPortEditor()

    Finalizer

    GetPortID()

    Gets the port identifier.

    IsCompatibleWith(Port, Port, IPortEditor)

    Determines whether port anchor is compatible with the specified candidate port anchor.

    IsCompatibleWithSlotType(Type)

    Determines whether [is compatible with slot type] [the specified input type].

    IsFieldAllowingEditor(VisualElement)

    Determines whether [is field allowing editor] [the specified port].

    PortValueChange()

    Signal port value change event.

    RefreshEditor(bool)

    Refreshes the editor.

    RegisterPortEvent()

    Registers the port event.

    SignalDestroy()

    Signals destruction of the PortEditor.

    SpawnEditor(VisualElement)

    Spawns the editor.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)