Inheritance
ValueConnectionWidget
[Widget(typeof(ValueConnection))]
public sealed class ValueConnectionWidget : UnitConnectionWidget<ValueConnection>, IUnitConnectionWidget, IGraphElementWidget, IWidget, IDisposable
Constructors
Declaration
public ValueConnectionWidget(FlowCanvas canvas, ValueConnection connection)
Parameters
Properties
Declaration
public override Color color { get; }
Property Value
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ValueConnection>.color
Declaration
protected override bool colorIfActive { get; }
Property Value
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ValueConnection>.colorIfActive
Declaration
protected override bool showDroplets { get; }
Property Value
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ValueConnection>.showDroplets
Methods
Declaration
public static Color DetermineColor(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Declaration
public static Color DetermineColor(Type source, Type destination)
Parameters
Type |
Name |
Description |
Type |
source |
|
Type |
destination |
|
Returns
Declaration
protected override void DrawDroplet(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ValueConnection>.DrawDroplet(UnityEngine.Rect)
Declaration
public override void DrawForeground()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.FlowCanvas, Unity.VisualScripting.ValueConnection>.DrawForeground()
Declaration
protected override Vector2 GetDropletSize()
Returns
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ValueConnection>.GetDropletSize()
Extension Methods