Class EdgeControl
Assembly: UnityEditor.dll
Syntax
public class EdgeControl : VisualElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle
Constructors
|
Improve this Doc
View Source
EdgeControl()
Declaration
Fields
|
Improve this Doc
View Source
k_MinEdgeWidth
Declaration
public const float k_MinEdgeWidth = 1.75F
Field Value
Properties
|
Improve this Doc
View Source
capRadius
Declaration
public float capRadius { get; set; }
Property Value
|
Improve this Doc
View Source
controlPoints
Declaration
public Vector2[] controlPoints { get; }
Property Value
|
Improve this Doc
View Source
drawFromCap
Declaration
public bool drawFromCap { get; set; }
Property Value
|
Improve this Doc
View Source
drawToCap
Declaration
public bool drawToCap { get; set; }
Property Value
|
Improve this Doc
View Source
edgeColor
Declaration
[Obsolete("Use inputColor and/or outputColor")]
public Color edgeColor { get; set; }
Property Value
|
Improve this Doc
View Source
edgeWidth
Declaration
public int edgeWidth { get; set; }
Property Value
|
Improve this Doc
View Source
from
Declaration
public Vector2 from { get; set; }
Property Value
|
Improve this Doc
View Source
fromCapColor
Declaration
public Color fromCapColor { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Color inputColor { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Orientation inputOrientation { get; set; }
Property Value
|
Improve this Doc
View Source
interceptWidth
Declaration
public float interceptWidth { get; set; }
Property Value
|
Improve this Doc
View Source
outputColor
Declaration
public Color outputColor { get; set; }
Property Value
|
Improve this Doc
View Source
outputOrientation
Declaration
public Orientation outputOrientation { get; set; }
Property Value
|
Improve this Doc
View Source
to
Declaration
public Vector2 to { get; set; }
Property Value
|
Improve this Doc
View Source
toCapColor
Declaration
public Color toCapColor { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ComputeControlPoints()
Declaration
protected virtual void ComputeControlPoints()
|
Improve this Doc
View Source
ContainsPoint(Vector2)
Declaration
public override bool ContainsPoint(Vector2 localPoint)
Parameters
Type |
Name |
Description |
Vector2 |
localPoint |
|
Returns
Overrides
|
Improve this Doc
View Source
DoRepaint(IStylePainter)
Declaration
protected override void DoRepaint(IStylePainter painter)
Parameters
Overrides
|
Improve this Doc
View Source
DrawEdge(IStylePainter)
Declaration
protected virtual void DrawEdge(IStylePainter painter)
Parameters
|
Improve this Doc
View Source
Overlaps(Rect)
Declaration
public override bool Overlaps(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Overrides
|
Improve this Doc
View Source
PointsChanged()
Declaration
protected virtual void PointsChanged()
|
Improve this Doc
View Source
UpdateLayout()
Declaration
public virtual void UpdateLayout()
|
Improve this Doc
View Source
UpdateRenderPoints()
Declaration
protected virtual void UpdateRenderPoints()
Implements
Extension Methods