class in UnityEditor.Experimental.GraphView
/
継承:Experimental.GraphView.GraphElement
This class allows for nodes to be grouped into a common area, or Scope. This class includes methods that automatically resize and position the Scope to encompass the group of nodes.
autoUpdateGeometry | Enables or disables the automatic resizing and positioning of the Scope. |
containedElements | The list of GraphElements contained by the Scope. |
containedElementsRect | The rect containing the GraphElements encompassed by the Scope. The rect is expressed in local coordinates. |
headerContainer | Returns the header container for the Scope. Use this header container to customizer the header of the Scope. |
Scope | Scope constructor. |
AcceptsElement | Whether the GraphElement can be added to this scope. |
AddElement | Adds a GraphElement to the Scope. |
AddElements | Adds GraphElements to the Scope. |
ContainsElement | Determines if the Scope contains the specified GraphElement. |
GetPosition | Returns the geometry of the Scope. |
HitTest | Determines whether the specified point is within the selectable area of the Scope. |
Overlaps | Determines whether the specified rect overlaps the Scope. |
RemoveElement | Removes an element from the Scope. |
RemoveElements | Removes elements from the Scope. |
RemoveElementsWithoutNotification | Removes elements from the Scope but do not send a notification. |
SetPosition | Sets the geometry of the Scope. |
UpdateGeometryFromContent | Updates the size and position of the Scope based on its contents. |
OnElementsAdded | Called when GraphElements are added to the Scope. |
OnElementsRemoved | Called when GraphElements are removed from the Scope. |
ScheduleUpdateGeometryFromContent | Schedules the update of the size and position of the Scope based on its contents. |
SetScopePositionOnly | Change the position of the scope but does not move its elements. |
capabilities | The GraphElement's capabilities. |
elementTypeColor | The color used for the MiniMap view. |
layer | The GraphElement's layer in the graph. |
selected | True if the GraphElement is currently selected. |
showInMiniMap | Whether the element is shown in the minimap. |
title | The GraphElement's title. |
GetGlobalCenter | Get the GraphElement's center point. |
IsAscendable | Checks if the GraphElement is automatically brought to front when selected. |
IsCopiable | Checks whether the GraphElement is copiable. |
IsDroppable | The GraphElement is drag&droppable. |
IsGroupable | Checks whether the GraphElement is groupable. |
IsMovable | The GraphElement is movable. |
IsRenamable | The GraphElement is renamable. |
IsResizable | The GraphElement is resizable. |
IsSelectable | The GraphElement is selectable. |
IsSelected | The GraphElement is currently selected in specific container. |
IsSnappable | Checks whether the GraphElement is snappable. |
IsStackable | Checks whether the GraphElement is stackable. |
OnSelected | Called when the GraphElement is selected. |
OnUnselected | Called when the GraphElement is unselected. |
ResetLayer | Reset the GraphElement to its original layer. |
Select | Select the GraphElement. |
Unselect | Deselect the GraphElement. |
OnCustomStyleResolved | Called when the custom style properties are resolved. |