docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SystemEdgeControl

    SystemEdgeControl handles the visual effects of edges in the graph. Implements the VisualElement

    Inheritance
    object
    CallbackEventHandler
    Focusable
    VisualElement
    SystemEdgeControl
    Implements
    IEventHandler
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    IResolvedStyle
    Inherited Members
    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 SystemEdgeControl : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle

    Constructors

    Name Description
    SystemEdgeControl()

    Initializes a new instance of the SystemEdgeControl class.

    Fields

    Name Description
    kBezierSectionPrecision

    The constant bezier section precision

    kPortEdgeMargin

    The constant port edge margin

    Properties

    Name Description
    EdgeState

    The current state of this edge. Good or Bad connection state.

    Graph

    Get the graphview associated with this system edge control

    Path

    Get the path description of the system edge

    capRadius

    Gets or sets the cap radius.

    controlPoints

    Gets the control points.

    drawFromCap

    Gets or sets a value indicating whether [draw from cap].

    drawToCap

    Gets or sets a value indicating whether [draw to cap].

    edgeColor

    Gets or sets the color of the edge.

    edgeWidth

    Gets or sets the width of the edge.

    from

    Gets or sets from.

    fromCapColor

    Gets or sets the color of from cap.

    inputColor

    Gets or sets the color of the input.

    inputOrientation

    Gets or sets the input orientation.

    interceptWidth

    Gets or sets the width of the intercept.

    outputColor

    Gets or sets the color of the output.

    outputOrientation

    Gets or sets the output orientation.

    selected

    Gets or sets a value indicating whether this SystemEdgeControl is selected.

    shadowColor

    Gets or sets the color of the shadow.

    to

    Gets or sets to.

    toCapColor

    Gets or sets the color of to cap.

    Methods

    Name Description
    AutoRoute()

    Find the route to connect the edge from it's source to it's target

    ComputeControlPoints()

    Computes the control points.

    ComputeRouteLayout()

    Compute the routing layout according to connections of the edge

    ContainsPoint(Vector2)

    Determines whether the specified local point contains point.

    Flash()

    Flashes this instance.

    Overlaps(Rect)

    Test overlap of the specified rect.

    PointsChanged(bool)

    Points position changed.

    SetPorts(int, Port, int, Port)

    Sets the ports.

    Update()

    Updates this instance.

    UpdateLayout()

    Updates the layout.

    See Also

    VisualElement
    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)