docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SystemEdge

    SystemEdge handles edge manipulation in the graph. Implements the Edge

    Inheritance
    object
    CallbackEventHandler
    Focusable
    VisualElement
    GraphElement
    Edge
    SystemEdge
    Implements
    IEventHandler
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    IResolvedStyle
    ISelectable
    Inherited Members
    Edge.showInMiniMap
    GraphElement.ResetLayer()
    GraphElement.IsSelectable()
    GraphElement.IsMovable()
    GraphElement.IsResizable()
    GraphElement.IsDroppable()
    GraphElement.IsAscendable()
    GraphElement.IsRenamable()
    GraphElement.IsCopiable()
    GraphElement.IsSnappable()
    GraphElement.IsGroupable()
    GraphElement.IsStackable()
    GraphElement.GetGlobalCenter()
    GraphElement.UpdatePresenterPosition()
    GraphElement.GetPosition()
    GraphElement.SetPosition(Rect)
    GraphElement.HitTest(Vector2)
    GraphElement.Select(VisualElement, bool)
    GraphElement.Unselect(VisualElement)
    GraphElement.IsSelected(VisualElement)
    GraphElement.elementTypeColor
    GraphElement.layer
    GraphElement.title
    GraphElement.capabilities
    GraphElement.selected
    VisualElement.disabledUssClassName
    VisualElement.ExecuteDefaultAction(EventBase)
    VisualElement.Focus()
    VisualElement.SendEvent(EventBase)
    VisualElement.SetEnabledFromHierarchy(bool)
    VisualElement.SetEnabled(bool)
    VisualElement.MarkDirtyRepaint()
    VisualElement.DoMeasure(float, VisualElement.MeasureMode, float, VisualElement.MeasureMode)
    VisualElement.ToString()
    VisualElement.GetClasses()
    VisualElement.ClearClassList()
    VisualElement.AddToClassList(string)
    VisualElement.RemoveFromClassList(string)
    VisualElement.ToggleInClassList(string)
    VisualElement.EnableInClassList(string, bool)
    VisualElement.ClassListContains(string)
    VisualElement.FindAncestorUserData()
    VisualElement.Add(VisualElement)
    VisualElement.Insert(int, VisualElement)
    VisualElement.Remove(VisualElement)
    VisualElement.RemoveAt(int)
    VisualElement.Clear()
    VisualElement.ElementAt(int)
    VisualElement.IndexOf(VisualElement)
    VisualElement.Children()
    VisualElement.Sort(Comparison<VisualElement>)
    VisualElement.BringToFront()
    VisualElement.SendToBack()
    VisualElement.PlaceBehind(VisualElement)
    VisualElement.PlaceInFront(VisualElement)
    VisualElement.RemoveFromHierarchy()
    VisualElement.GetFirstOfType<T>()
    VisualElement.GetFirstAncestorOfType<T>()
    VisualElement.Contains(VisualElement)
    VisualElement.FindCommonAncestor(VisualElement)
    VisualElement.viewDataKey
    VisualElement.userData
    VisualElement.canGrabFocus
    VisualElement.focusController
    VisualElement.usageHints
    VisualElement.transform
    VisualElement.layout
    VisualElement.contentRect
    VisualElement.paddingRect
    VisualElement.worldBound
    VisualElement.localBound
    VisualElement.worldTransform
    VisualElement.pickingMode
    VisualElement.name
    VisualElement.enabledInHierarchy
    VisualElement.enabledSelf
    VisualElement.visible
    VisualElement.generateVisualContent
    VisualElement.experimental
    VisualElement.hierarchy
    VisualElement.cacheAsBitmap
    VisualElement.parent
    VisualElement.panel
    VisualElement.contentContainer
    VisualElement.visualTreeAssetSource
    VisualElement.this[int]
    VisualElement.childCount
    VisualElement.schedule
    VisualElement.style
    VisualElement.customStyle
    VisualElement.styleSheets
    VisualElement.tooltip
    VisualElement.resolvedStyle
    Focusable.Blur()
    Focusable.focusable
    Focusable.tabIndex
    Focusable.delegatesFocus
    CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
    CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
    CallbackEventHandler.HandleEvent(EventBase)
    CallbackEventHandler.HasTrickleDownHandlers()
    CallbackEventHandler.HasBubbleUpHandlers()
    CallbackEventHandler.ExecuteDefaultActionAtTarget(EventBase)
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    public class SystemEdge : Edge, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISelectable

    Constructors

    Name Description
    SystemEdge()

    Initializes a new instance of the SystemEdge class.

    Properties

    Name Description
    EdgeState

    State of the edge. Is it a normal edge or a BadConnection edge?

    PointsAndTangents

    The edge's points and tangents.

    candidatePosition

    The edge's end position while it's being created.

    defaultColor

    Default edge color.

    edgeControl

    The VisualElement child of Edge that draws the lines and does the hit detection.

    edgeWidth

    Edge width.

    ghostColor

    The color of the ghost edge, which is the edge that appears snapped to a nearby port while an edge is being created.

    input

    Connected input port.

    isGhostEdge

    Is this edge a ghost edge, which is the edge that appears snapped to a nearby port while an edge is being created.

    output

    Connected output port.

    selectedColor

    Color of edge while selected.

    Methods

    Name Description
    Construct()

    Constructs this instance.

    ContainsPoint(Vector2)

    Checks if point is on top of edge.

    CreateEdgeControl()

    Creates the edge control.

    DrawEdge()

    Draw the edge's lines.

    Flash()

    Flashes this instance.

    OnCustomStyleResolved(ICustomStyle)

    Called when the custom style properties are resolved.

    OnPortChanged(bool)

    Called when a port on the edge is changed.

    OnSelected()

    Called when [selected].

    OnUnselected()

    Called when [unselected].

    Overlaps(Rect)

    Check if edge overlaps rectangle.

    UpdateEdgeControl()

    Update the edge's EdgeControl.

    See Also

    Edge
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)