Click or drag to resize

Connector Methods

The Connector type exposes the following members.

Methods
  NameDescription
Public methodAddAspect(Object, Boolean)
Public methodAddAspectT(T, Boolean)
Public methodAlignConnectors
Align the parent of this connector to be in line with the connector it is connected to. Modify the transform of the parent of this connector to align to the Normal of the ConnectedTo connector. This doesn't do a centerSnap on the connectors and the alignment algorithm is Alignment.Closest.
Public methodAlignConnectors(ConnectorAlignment)
Align the parent of this connector to be in line with the connector it is connected to. Modify the transform of the parent of this connector to align to the Normal of the ConnectedTo connector. This doesn't do a centerSnap on the connectors.
Public methodAlignConnectors(ConnectorAlignment, Boolean)
Align the parent of this connector to be in line with the connector it is connected to. Modify the transform of the parent of this connector to align to the Normal of the ConnectedTo connector.
Public methodAngularDistanceFrom
Find distance between the world normals as the difference between their world-Y rotations, snapped to 5 degree increments
Public methodCanConnectTo
Indicate if the two Connectors may actually be connected. This allows connectors for different purposes. The GUI may use this to provide visual feedback when the user drags an object near to another object.
Public methodStatic memberClosest
Find the closest connectors between two IConnectable objects (normally Visuals).
Public methodStatic memberConnect(IConnectable, String, IConnectable, String, ConnectorAlignment, Boolean)
Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned.
Public methodStatic memberConnect(IConnectable, String, IConnectable, String, Boolean, Boolean)
Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned.
Public methodStatic memberConnect(IConnectable, String, IConnectable, String, ConnectorAlignment, Boolean, Boolean)
Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned.
Public methodStatic memberConnect(IConnectable, String, IConnectable, String, Boolean, Boolean, Boolean)
Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned.
Public methodConnectTo(Connector, ConnectorAlignment)
Connect this and another connector together.
Public methodConnectTo(Connector, Boolean)
Connect two objects together. The method must take care of the placement and orientation of the respective visual objects.
Public methodConnectTo(Connector, Boolean, Boolean)
Connect two objects together. The method must take care of the placement and orientation of the respective visual objects.
Public methodConnectTo(Connector, ConnectorAlignment, Boolean, Boolean)
Connect this and another connector together.
Public methodConnectTo(Connector, Boolean, Boolean, Boolean)
Connect two objects together. The method must take care of the placement and orientation of the respective visual objects.
Public methodConnectTo(Connector, ConnectorAlignment, Boolean, Boolean, Action)
Connect this and another connector together (Only usable from C# scripting, not JScript).
Public methodStatic memberDisconnect
Disconnect a named connector.
Public methodDisconnectAll
Disconnect all connectors
Public methodDisconnectFrom
Disconnect two objects from each other. The orientation is left the same after disconnection.
Public methodDispose
Public methodDistanceFrom
Calculates the distance of the centers of this connector to the extents (start->end) of another connector.
Public methodFindAspectsT
Public methodFindCreateManagedAspectT
Public methodIsConnectedTo(Connector)
Is this connector connected to the other connector.
Public methodIsConnectedTo(Visual)
Is this connector connected to the other visual via one of its connectors.
Public methodObjectToWorldMatrix
Public methodRemoveAspect(Object)
Public methodRemoveAspectT(T, Boolean)
Public methodToString
Connected "name:visual" string.
(Overrides ObjectToString.)
Public methodToVisualLocation
The center of the connector as a VisualLocation.
Public methodWorldToObjectMatrix
Top
See Also