Inheritance
UnitPortWidget<TPort>
[Widget(typeof(IUnitPort))]
public abstract class UnitPortWidget<TPort> : Widget<FlowCanvas, TPort>, IUnitPortWidget, IWidget, IDisposable where TPort : class, IUnitPort
Type Parameters
Constructors
Declaration
protected UnitPortWidget(FlowCanvas canvas, TPort port)
Parameters
Type |
Name |
Description |
FlowCanvas |
canvas |
|
TPort |
port |
|
Properties
Declaration
public override bool canClip { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.canClip
Implements
Declaration
protected virtual bool canStartConnection { get; }
Property Value
Declaration
public virtual Color color { get; }
Property Value
Declaration
protected virtual bool colorIfActive { get; }
Property Value
Declaration
protected UnitPortDescription description { get; }
Property Value
Declaration
protected override bool dim { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.dim
Declaration
protected abstract Edge edge { get; }
Property Value
Declaration
public override bool foregroundRequiresInput { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.foregroundRequiresInput
Implements
Declaration
public Rect handlePosition { get; }
Property Value
Implements
handleTextureConnected
Declaration
protected abstract Texture handleTextureConnected { get; }
Property Value
handleTextureUnconnected
Declaration
protected abstract Texture handleTextureUnconnected { get; }
Property Value
Declaration
public override Rect hotArea { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.hotArea
Implements
Declaration
public Rect iconPosition { get; }
Property Value
Declaration
public Rect identifierPosition { get; }
Property Value
Declaration
protected Inspector inspector { get; }
Property Value
Declaration
public Metadata inspectorMetadata { get; }
Property Value
Declaration
public Rect inspectorPosition { get; }
Property Value
Declaration
public Rect labelPosition { get; }
Property Value
Declaration
public TPort port { get; }
Property Value
Declaration
public override Rect position { get; set; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.position
Implements
Declaration
public override IEnumerable<IWidget> positionDependencies { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.positionDependencies
Implements
Declaration
public override IEnumerable<IWidget> positionDependers { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.positionDependers
Implements
Declaration
protected bool showIcon { get; }
Property Value
Declaration
protected virtual bool showInspector { get; }
Property Value
Declaration
protected 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
public bool willDisconnect { get; }
Property Value
Implements
Declaration
public bool wouldDisconnect { get; }
Property Value
Declaration
public float y { get; set; }
Property Value
Implements
Declaration
public override float zIndex { get; set; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.zIndex
Implements
Methods
Declaration
protected override void CacheDescription()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.CacheDescription()
Declaration
protected override void CacheMetadata()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.CacheMetadata()
Declaration
public override void CachePosition()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.CachePosition()
Implements
Declaration
public override void DrawBackground()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.DrawBackground()
Implements
Declaration
public override void DrawForeground()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.DrawForeground()
Implements
Declaration
public override void DrawOverlay()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.DrawOverlay()
Implements
Declaration
public virtual Metadata FetchInspectorMetadata()
Returns
Declaration
public override Metadata FetchMetadata()
Returns
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.FetchMetadata()
Declaration
Returns
Implements
Declaration
public float GetInnerWidth()
Returns
Implements
Declaration
public override void HandleInput()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, TPort>.HandleInput()
Implements
Explicit Interface Implementations
Declaration
IUnitPort IUnitPortWidget.port { get; }
Returns
Implements
Extension Methods