Version: 2023.2
言語: 日本語
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.

Static 変数

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.

Protected 関数

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