Manual

Connection

class in Doozy.Engine.Nody.Models

Description

The Connection is the base class for any connection type between two Sockets
See Also: Socket, Node, Graph

Properties

  • public bool Ping – [Editor Only] Pings this connection

  • public string Id – Returns the id of this connection

  • public string InputNodeId – Returns the id of this connection’s input Node

  • public string InputSocketId – Returns the id of this connection’s input Socket

  • public string OutputNodeId – Returns the id of this connection’s output Node

  • public string OutputSocketId – Returns the id of this connection’s output Socket

  • public Vector2 InputConnectionPoint – [Editor Only] Returns the position of this connection’s input point

  • public Vector2 OutputConnectionPoint – [Editor Only] Returns the position of this connection’s output point

Public Variables

    Constructors

    • public Connection(Socket socket1, Socket socket2) – Creates a new instance for this class between two sockets (Input – Output or Output – Input)

    • public Connection(Connection other) – Creates a new instance for this class with the settings of the passed connection

    Public Methods

    • public string GenerateNewId() – Generates a new id for this connections and returns it