Connector Methods |
The Connector type exposes the following members.
| Name | Description | |
|---|---|---|
| AlignConnectors | 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. | |
| AlignConnectors(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. | |
| AlignConnectors(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. | |
| AngularDistanceFrom | Find distance between the world normals as the difference between their world-Y rotations, snapped to 5 degree increments | |
| CanConnectTo | 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. | |
| Closest | Find the closest connectors between two IConnectable objects (normally Visuals). | |
| Connect(IConnectable, String, IConnectable, String, ConnectorAlignment, Boolean) | Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned. | |
| Connect(IConnectable, String, IConnectable, String, Boolean, Boolean) | Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned. | |
| Connect(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. | |
| Connect(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. | |
| ConnectTo(Connector, ConnectorAlignment) | Connect this and another connector together. | |
| ConnectTo(Connector, Boolean) | Connect two objects together. The method must take care of the placement and orientation of the respective visual objects. | |
| ConnectTo(Connector, Boolean, Boolean) | Connect two objects together. The method must take care of the placement and orientation of the respective visual objects. | |
| ConnectTo(Connector, ConnectorAlignment, Boolean, Boolean) | Connect this and another connector together. | |
| ConnectTo(Connector, Boolean, Boolean, Boolean) | Connect two objects together. The method must take care of the placement and orientation of the respective visual objects. | |
| ConnectTo(Connector, ConnectorAlignment, Boolean, Boolean, Action) | Connect this and another connector together (Only usable from C# scripting, not JScript). | |
| CreateManagedAspectT | ||
| Disconnect | Disconnect a named connector. | |
| DisconnectAll | Disconnect all connectors | |
| DisconnectFrom | Disconnect two objects from each other. The orientation is left the same after disconnection. | |
| Dispose | ||
| DistanceFrom | Calculates the distance of the centers of this connector to the extents (start->end) of another connector. | |
| FindAspectsT | ||
| FindManagedAspectsT | ||
| IsConnectedTo(Connector) | Is this connector connected to the other connector. | |
| IsConnectedTo(Visual) | Is this connector connected to the other visual via one of its connectors. | |
| ObjectToWorldMatrix | ||
| ToString |
Connected "name:visual" string.
(Overrides ObjectToString) | |
| ToVisualLocation | The center of the connector as a VisualLocation. | |
| WorldToObjectMatrix |