Inheritance
UnitPortWidget<TPort>
public abstract class UnitPortWidget<TPort> : Widget, IUnitPortWidget, IWidget, IDisposable where TPort : class, IUnitPort
Type Parameters
Constructors
UnitPortWidget(FlowGraphContext, TPort)
Declaration
protected UnitPortWidget(FlowGraphContext context, TPort port)
Parameters
Properties
Declaration
public virtual Axis2 axis { get; }
Property Value
Implements
Declaration
public override bool canClip { get; }
Property Value
Overrides
Implements
Declaration
protected virtual bool canStartConnection { get; }
Property Value
Declaration
protected FlowCanvas canvas { get; }
Property Value
Declaration
public override Rect clippingPosition { get; }
Property Value
Overrides
Implements
Declaration
public virtual Color color { get; }
Property Value
Declaration
protected virtual bool colorIfActive { get; }
Property Value
connectionTexture
Declaration
protected virtual Texture2D connectionTexture { get; }
Property Value
Type |
Description |
Texture2D |
|
Declaration
protected virtual float connectionThickness { get; }
Property Value
context
Declaration
public FlowGraphContext context { get; }
Property Value
Declaration
protected virtual bool copyConnectionColor { get; }
Property Value
Declaration
protected override bool dim { get; }
Property Value
Overrides
Declaration
public Edges drawnEdges { get; set; }
Property Value
Implements
Declaration
public Vector2 dynamicHandleCenter { get; set; }
Property Value
Implements
Declaration
public abstract Edge edge { get; }
Property Value
Implements
Declaration
public bool forceShowLabel { get; set; }
Property Value
Implements
Declaration
public override bool foregroundRequiresInput { get; }
Property Value
Overrides
Implements
Declaration
protected FlowGraph graph { get; }
Property Value
Declaration
public Rect handlePosition { get; }
Property Value
Implements
Declaration
protected abstract Vector2 handleSize { get; }
Property Value
handleTexture
Declaration
protected EditorTexture handleTexture { get; }
Property Value
handleTextureConnected
Declaration
protected abstract EditorTexture handleTextureConnected { get; }
Property Value
handleTextureUnconnected
Declaration
protected abstract EditorTexture handleTextureUnconnected { get; }
Property Value
Declaration
protected override Rect hotArea { get; }
Property Value
Overrides
Declaration
public Rect iconPosition { get; }
Property Value
Declaration
public Rect identifierAndHandlePosition { get; }
Property Value
Declaration
public Rect identifierPosition { get; }
Property Value
Declaration
public Vector2 innerSize { get; }
Property Value
Declaration
public Rect inspectorPosition { get; }
Property Value
Declaration
public Rect labelPosition { get; }
Property Value
Declaration
public Rect outerPosition { get; set; }
Property Value
Implements
Declaration
public Vector2 outerSize { get; }
Property Value
Implements
Declaration
protected TPort port { get; }
Property Value
Declaration
public override Rect position { get; set; }
Property Value
Overrides
Implements
Declaration
public override IEnumerable<IWidget> positionDependencies { get; }
Property Value
Overrides
Implements
Declaration
public override IEnumerable<IWidget> positionDependers { get; }
Property Value
Overrides
Implements
Declaration
protected abstract Edges proxyEdges { get; }
Property Value
Declaration
public Dictionary<Edge, Rect> proxyPositions { get; }
Property Value
Declaration
protected virtual bool pulseIfActive { get; }
Property Value
Declaration
protected virtual bool showIcon { get; }
Property Value
Declaration
protected virtual bool showInspector { get; }
Property Value
Declaration
protected virtual bool showLabel { get; }
Property Value
Declaration
public Rect surroundPosition { get; }
Property Value
Declaration
public IUnit unit { get; }
Property Value
Declaration
public IUnitWidget unitWidget { get; }
Property Value
Declaration
protected Accessor valueAccessor { get; }
Property Value
Declaration
protected Inspector valueInspector { get; }
Property Value
Declaration
public bool willDisconnect { get; }
Property Value
Implements
Declaration
public bool wouldDisconnect { get; }
Property Value
Declaration
public override float zIndex { get; set; }
Property Value
Overrides
Implements
Methods
Declaration
protected override void CacheDescription()
Overrides
Declaration
protected override void CacheEditor()
Overrides
Declaration
public override void CachePosition()
Overrides
Implements
Declaration
Implements
Declaration
protected virtual void ConfigureValueInspector(Inspector valueInspector)
Parameters
Type |
Name |
Description |
Inspector |
valueInspector |
|
Declaration
public override void Dispose()
Overrides
Declaration
public override void DrawBackground()
Overrides
Implements
Declaration
public override void DrawForeground()
Overrides
Implements
Declaration
public override void DrawOverlay()
Overrides
Implements
Declaration
public override Accessor FetchAccessor()
Returns
Overrides
Declaration
protected virtual Accessor FetchValueAccessor()
Returns
Declaration
protected override IDescriptor GetDescriptor()
Returns
Overrides
Declaration
public float GetInnerHeight()
Returns
Declaration
public override void HandleInput()
Overrides
Implements
Declaration
protected virtual void OnPortPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Object |
sender |
|
PropertyChangedEventArgs |
args |
|
Explicit Interface Implementations
Declaration
IUnitPort IUnitPortWidget.port { get; }
Returns
Implements
Extension Methods