Class InvalidConnectionWidget
Inheritance
InvalidConnectionWidget
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Widget(typeof(InvalidConnection))]
public sealed class InvalidConnectionWidget : UnitConnectionWidget<InvalidConnection>, IUnitConnectionWidget, IGraphElementWidget, IWidget, IDisposable
Constructors
InvalidConnectionWidget(FlowCanvas, InvalidConnection)
Declaration
public InvalidConnectionWidget(FlowCanvas canvas, InvalidConnection connection)
Parameters
Type | Name | Description |
---|---|---|
FlowCanvas | canvas | |
InvalidConnection | connection |
Properties
color
Declaration
public override Color color { get; }
Property Value
Type | Description |
---|---|
Color |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.InvalidConnection>.color
showDroplets
Declaration
protected override bool showDroplets { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.InvalidConnection>.showDroplets
Methods
DrawDroplet(Rect)
Declaration
protected override void DrawDroplet(Rect position)
Parameters
Type | Name | Description |
---|---|---|
Rect | position |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.InvalidConnection>.DrawDroplet(UnityEngine.Rect)
GetDropletSize()
Declaration
protected override Vector2 GetDropletSize()
Returns
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.InvalidConnection>.GetDropletSize()