class in UnityEditor.Experimental.GraphView
/
継承:Experimental.GraphView.Scope
実装インターフェース:ICollectibleElement, IEventHandler, IExperimentalFeatures, IResolvedStyle, ISelectable, ITransform, ITransitionAnimations, IVisualElementScheduler
Allows interactive insertion of elements in a named scope.
| title | Title of the group. |
| Group | Group constructor. |
| AcceptsElement | Whether an element can be added to this group. |
| CollectElements | Retrieves a set of graph elements that match a specified condition. The matching graph elements are selected from this group. |
| FocusTitleTextField | Focuses the title text field of this group, so that it's editable from the UI. |
| OnElementsAdded | Called when elements are added to this group. |
| OnElementsRemoved | Called when elements are removed from this group. |
| OnGroupRenamed | Called when this group is renamed. |
| 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. |
| 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. |
| GetGlobalCenter | Get the GraphElement's center point. |
| GetPosition | Get the GraphElement position. |
| HitTest | See if point is over the GraphElement. |
| 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. |
| SetPosition | Set the GraphElement position. |
| Unselect | Deselect the GraphElement. |
| 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. |
| OnCustomStyleResolved | Called when the custom style properties are resolved. |
| 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. |