Class Scope
Assembly: UnityEditor.dll
Syntax
public class Scope : GraphElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, ISelectable
Constructors
|
Improve this Doc
View Source
Scope()
Declaration
Properties
|
Improve this Doc
View Source
autoUpdateGeometry
Declaration
public bool autoUpdateGeometry { get; set; }
Property Value
|
Improve this Doc
View Source
containedElements
Declaration
public IEnumerable<GraphElement> containedElements { get; }
Property Value
|
Improve this Doc
View Source
containedElementsRect
Declaration
public Rect containedElementsRect { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public VisualElement headerContainer { get; }
Property Value
Methods
|
Improve this Doc
View Source
AcceptsElement(GraphElement, ref String)
Declaration
public virtual bool AcceptsElement(GraphElement element, ref string reasonWhyNotAccepted)
Parameters
Returns
|
Improve this Doc
View Source
AddElement(GraphElement)
Declaration
public void AddElement(GraphElement element)
Parameters
|
Improve this Doc
View Source
AddElements(IEnumerable<GraphElement>)
Declaration
public void AddElements(IEnumerable<GraphElement> elements)
Parameters
|
Improve this Doc
View Source
ContainsElement(GraphElement)
Declaration
public bool ContainsElement(GraphElement element)
Parameters
Returns
|
Improve this Doc
View Source
GetPosition()
Declaration
public override Rect GetPosition()
Returns
Overrides
|
Improve this Doc
View Source
HitTest(Vector2)
Declaration
public override bool HitTest(Vector2 localPoint)
Parameters
Type |
Name |
Description |
Vector2 |
localPoint |
|
Returns
Overrides
|
Improve this Doc
View Source
OnElementsAdded(IEnumerable<GraphElement>)
Declaration
protected virtual void OnElementsAdded(IEnumerable<GraphElement> elements)
Parameters
|
Improve this Doc
View Source
OnElementsRemoved(IEnumerable<GraphElement>)
Declaration
protected virtual void OnElementsRemoved(IEnumerable<GraphElement> elements)
Parameters
|
Improve this Doc
View Source
Overlaps(Rect)
Declaration
public override bool Overlaps(Rect rectangle)
Parameters
Type |
Name |
Description |
Rect |
rectangle |
|
Returns
Overrides
|
Improve this Doc
View Source
RemoveElement(GraphElement)
Declaration
public void RemoveElement(GraphElement element)
Parameters
|
Improve this Doc
View Source
RemoveElements(IEnumerable<GraphElement>)
Declaration
public void RemoveElements(IEnumerable<GraphElement> elements)
Parameters
|
Improve this Doc
View Source
RemoveElementsWithoutNotification(IEnumerable<GraphElement>)
Declaration
public void RemoveElementsWithoutNotification(IEnumerable<GraphElement> elements)
Parameters
|
Improve this Doc
View Source
ScheduleUpdateGeometryFromContent()
Declaration
protected void ScheduleUpdateGeometryFromContent()
|
Improve this Doc
View Source
SetPosition(Rect)
Declaration
public override void SetPosition(Rect newPos)
Parameters
Type |
Name |
Description |
Rect |
newPos |
|
Overrides
|
Improve this Doc
View Source
SetScopePositionOnly(Rect)
Declaration
protected virtual void SetScopePositionOnly(Rect newPos)
Parameters
Type |
Name |
Description |
Rect |
newPos |
|
|
Improve this Doc
View Source
UpdateGeometryFromContent()
Declaration
public void UpdateGeometryFromContent()
|
Improve this Doc
View Source
UpdatePresenterPosition()
Declaration
public override void UpdatePresenterPosition()
Overrides
Implements
Extension Methods