Class ArcUI
Describes an arc between a transition and a sequence
Inheritance
Focusable
ArcUI
Assembly: Xareus.Scenarios.Unity.Edition.dll
Syntax
public class ArcUI : ABaseArcUI
Constructors
ArcUI(CanvasUI, NodeUI, NodeUI)
Declaration
public ArcUI(CanvasUI canvas, NodeUI sourceNode, NodeUI endNode)
Parameters
Fields
DestinationNode
Declaration
public NodeUI DestinationNode
Field Value
SourceNode
Declaration
Field Value
Properties
Data
The data associated with this UI element. This can be null if the element is based on other elements' data.
Declaration
public override object Data { get; }
Property Value
Overrides
DestinationId
Declaration
public string DestinationId { get; }
Property Value
EndPosition
Declaration
public override Vector2 EndPosition { get; }
Property Value
Overrides
SourceId
Declaration
public string SourceId { get; }
Property Value
StartPosition
Declaration
public override Vector2 StartPosition { get; }
Property Value
Overrides
Methods
DeleteUIElement()
Declaration
public override void DeleteUIElement()
Overrides
HandleOnDeselected()
Declaration
protected override void HandleOnDeselected()
Overrides
HandleOnSelected()
Declaration
protected override void HandleOnSelected()
Overrides
IsSelectedByElement(VisualElement)
Check if the section is selected by the given element. Sections are selected if all the sections bounds are inside the element.
Declaration
public override bool IsSelectedByElement(VisualElement selectionElement)
Parameters
Returns
Overrides
Exceptions
OnArcSelected(EventArgs)
Declaration
protected virtual void OnArcSelected(EventArgs args)
Parameters
OnLabelGet()
Declaration
protected override string OnLabelGet()
Returns
Overrides
Declaration
protected override void OpenContextMenu(ContextualMenuPopulateEvent evt)
Parameters
Overrides
SetLabel(string)
Declaration
protected override void SetLabel(string label)
Parameters
Type |
Name |
Description |
string |
label |
|
Overrides
UpdateUI()
Declaration
public override void UpdateUI()
Overrides
Events
ArcSelected
Declaration
public event EventHandler ArcSelected
Event Type