Version: 2021.3
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

EdgeControl

class in UnityEditor.Experimental.GraphView

매뉴얼로 전환

설명

VisualElement that draws the edge lines and detects if mouse is on top of edge.

정적 변수

k_MinEdgeWidthMin edge width.

변수

capRadiusRadius of the edge's end caps.
controlPointsEdge's control points.
drawFromCapWhether or not to draw the From Cap.
drawToCapWhether or not to draw the To Cap.
edgeWidthEdge's visible width.
fromEdge's From postion.
fromCapColorThe color of the cap color at the "from" end of the edge.
inputColorColor on the edge's input.
inputOrientationEdge input port orientation (vertical/horizontal).
interceptWidthWidth that will be used for mouse hit detection.
outputColorColor on the edge's output.
outputOrientationEdge output port orientation (vertical/horizontal).
toEdge's To postion.
toCapColorThe color of the cap color at the "to" end of the edge.

생성자

EdgeControlEdgeControl's constructor.

Public 함수

ContainsPointCheck if point is on top of edge.
OverlapsCheck if edge overlaps rectangle.
UpdateLayoutUpdate the edge layout.

보호되는 함수

ComputeControlPointsCompute the edge's control points.
PointsChangedCheck if the edge points have changed.
UpdateRenderPointsUpdate the edge's render points.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961