public sealed class NodePortViewOne socket, as an element.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ It exists to be hit, not to say where the wire goes. A wire's endpoint is worked out from the node's rectangle — see AnchorOf — because the node at the other end is very often culled and has no elements. What this is for is the pointer: a drag has to start on something, and a dot the theme can make bigger on hover is a better target than a coordinate the canvas compares against.
Fields and properties (6)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public GraphPort? PortThe port it shows, or null if it is parked.
public UiElement DotThe dot a wire appears to come out of.
public UiElement LabelThe name beside it.
public NodePortEditor FieldsThe boxes an unconnected input's value is typed into.
Methods (1)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
Used by (7)
- NodeCanvasVixen.Ui.Controls.Advanced
- NodeCanvasTestsVixen.Ui.Controls.Advanced.Tests
- NodeItemVixen.Ui.Controls.Advanced
- NodeGraphViewVixen.Editor.NodeGraph
- PortValueTestsVixen.Editor.NodeGraph.Tests
- ViewFixtureVixen.Editor.NodeGraph.Tests
- ViewTestsVixen.Editor.NodeGraph.Tests