Inheritance
NodeWidget<TCanvas, TNode>
public abstract class NodeWidget<TCanvas, TNode> : GraphElementWidget<TCanvas, TNode>, INodeWidget, IGraphElementWidget, IWidget, IDisposable where TCanvas : class, ICanvas where TNode : class, IGraphElement
Type Parameters
Name |
Description |
TCanvas |
|
TNode |
|
Constructors
Declaration
protected NodeWidget(TCanvas canvas, TNode node)
Parameters
Type |
Name |
Description |
TCanvas |
canvas |
|
TNode |
node |
|
Fields
Declaration
protected bool invertForeground
Field Value
Properties
Declaration
public override Rect clippingPosition { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<TCanvas, TNode>.clippingPosition
Implements
Declaration
protected abstract NodeColorMix color { get; }
Property Value
Declaration
public Rect edgePosition { get; set; }
Property Value
Implements
Declaration
public Rect innerPosition { get; set; }
Property Value
Implements
Declaration
public Rect outerPosition { get; set; }
Property Value
Implements
Declaration
protected abstract NodeShape shape { get; }
Property Value
Methods
Declaration
public override void DrawForeground()
Overrides
Unity.VisualScripting.Widget<TCanvas, TNode>.DrawForeground()
Implements
Declaration
public override void DrawOverlay()
Overrides
Unity.VisualScripting.GraphElementWidget<TCanvas, TNode>.DrawOverlay()
Implements
Declaration
protected Rect EdgeToInnerPosition(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Returns
Declaration
protected Rect EdgeToOuterPosition(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Returns
Declaration
protected Rect InnerToEdgePosition(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Returns
Declaration
protected Rect OuterToEdgePosition(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Returns
Extension Methods