Inheritance
StateTransitionWidget<TStateTransition>
public abstract class StateTransitionWidget<TStateTransition> : NodeWidget<StateCanvas, TStateTransition>, IStateTransitionWidget, INodeWidget, IGraphElementWidget, IWidget, IDisposable where TStateTransition : class, IStateTransition
Type Parameters
Name |
Description |
TStateTransition |
|
Constructors
Declaration
protected StateTransitionWidget(StateCanvas canvas, TStateTransition transition)
Parameters
Type |
Name |
Description |
StateCanvas |
canvas |
|
TStateTransition |
transition |
|
Properties
Declaration
protected virtual NodeColorMix baseColor { get; }
Property Value
Declaration
public override bool canDelete { get; }
Property Value
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.canDelete
Implements
Declaration
public override bool canDrag { get; }
Property Value
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.canDrag
Implements
Declaration
public override bool canSelect { get; }
Property Value
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.canSelect
Implements
Declaration
public override Rect clippingPosition { get; }
Property Value
Overrides
Unity.VisualScripting.NodeWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.clippingPosition
Implements
Declaration
public Rect clipPosition { get; }
Property Value
Declaration
protected override NodeColorMix color { get; }
Property Value
Overrides
Unity.VisualScripting.NodeWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.color
Declaration
protected override bool dim { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.dim
Declaration
public Rect iconPosition { get; }
Property Value
Declaration
public Rect labelInnerPosition { get; }
Property Value
Declaration
public override Rect position { get; set; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.position
Implements
Declaration
public override IEnumerable<IWidget> positionDependencies { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.positionDependencies
Implements
Declaration
public override IEnumerable<IWidget> positionDependers { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.positionDependers
Implements
Declaration
protected override NodeShape shape { get; }
Property Value
Overrides
Unity.VisualScripting.NodeWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.shape
Declaration
protected virtual bool showDroplets { get; }
Property Value
Declaration
protected override bool snapToGrid { get; }
Property Value
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.snapToGrid
Declaration
protected TStateTransition transition { get; }
Property Value
Type |
Description |
TStateTransition |
|
Declaration
protected IStateTransitionDebugData transitionDebugData { get; }
Property Value
Methods
Declaration
public override void BeforeFrame()
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.BeforeFrame()
Implements
Declaration
protected override void CacheDescription()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.CacheDescription()
Declaration
public override void CachePosition()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.CachePosition()
Implements
Declaration
public override void CachePositionFirstPass()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.CachePositionFirstPass()
Implements
Declaration
public override void DrawBackground()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, TStateTransition>.DrawBackground()
Implements
Declaration
protected virtual void DrawDroplet(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Declaration
public override void DrawForeground()
Overrides
Unity.VisualScripting.NodeWidget<Unity.VisualScripting.StateCanvas, TStateTransition>.DrawForeground()
Implements
Declaration
protected virtual Vector2 GetDropletSize()
Returns
Explicit Interface Implementations
Declaration
Edge IStateTransitionWidget.sourceEdge { get; }
Returns
Implements
Extension Methods