Class GraphElement
Assembly: UnityEditor.dll
Syntax
public abstract class GraphElement : VisualElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, ISelectable
Constructors
|
Improve this Doc
View Source
GraphElement()
Declaration
Properties
|
Improve this Doc
View Source
capabilities
Declaration
public Capabilities capabilities { get; set; }
Property Value
|
Improve this Doc
View Source
elementTypeColor
Declaration
public Color elementTypeColor { get; set; }
Property Value
|
Improve this Doc
View Source
layer
Declaration
public int layer { get; set; }
Property Value
|
Improve this Doc
View Source
selected
Declaration
public bool selected { get; set; }
Property Value
|
Improve this Doc
View Source
title
Declaration
public virtual string title { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetGlobalCenter()
Declaration
public virtual Vector3 GetGlobalCenter()
Returns
|
Improve this Doc
View Source
GetPosition()
Declaration
public virtual Rect GetPosition()
Returns
|
Improve this Doc
View Source
HitTest(Vector2)
Declaration
public virtual bool HitTest(Vector2 localPoint)
Parameters
Type |
Name |
Description |
Vector2 |
localPoint |
|
Returns
|
Improve this Doc
View Source
IsAscendable()
Declaration
public virtual bool IsAscendable()
Returns
|
Improve this Doc
View Source
IsDroppable()
Declaration
public virtual bool IsDroppable()
Returns
|
Improve this Doc
View Source
IsMovable()
Declaration
public virtual bool IsMovable()
Returns
|
Improve this Doc
View Source
IsResizable()
Declaration
public virtual bool IsResizable()
Returns
|
Improve this Doc
View Source
IsSelectable()
Declaration
public virtual bool IsSelectable()
Returns
|
Improve this Doc
View Source
IsSelected(VisualElement)
Declaration
public virtual bool IsSelected(VisualElement selectionContainer)
Parameters
Returns
|
Improve this Doc
View Source
OnSelected()
Declaration
public virtual void OnSelected()
|
Improve this Doc
View Source
OnStyleResolved(ICustomStyle)
Declaration
protected override void OnStyleResolved(ICustomStyle style)
Parameters
Overrides
|
Improve this Doc
View Source
OnUnselected()
Declaration
public virtual void OnUnselected()
|
Improve this Doc
View Source
ResetLayer()
Declaration
|
Improve this Doc
View Source
Select(VisualElement, Boolean)
Declaration
public virtual void Select(VisualElement selectionContainer, bool additive)
Parameters
|
Improve this Doc
View Source
SetPosition(Rect)
Declaration
public virtual void SetPosition(Rect newPos)
Parameters
Type |
Name |
Description |
Rect |
newPos |
|
|
Improve this Doc
View Source
Unselect(VisualElement)
Declaration
public virtual void Unselect(VisualElement selectionContainer)
Parameters
|
Improve this Doc
View Source
UpdatePresenterPosition()
Declaration
public virtual void UpdatePresenterPosition()
Implements
Extension Methods