Group
Allows interactive insertion of elements in a named scope.
Read time 10 minutesLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
- Inherits from: Scope
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable, ICollectibleElement
public class Group : Scope, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable, ICollectibleElement
Constructors
Constructor | Description |
|---|---|
| Group() | Group constructor. |
Properties
Property | Description |
|---|---|
| title | Title of the group. |
Methods
Method | Description |
|---|---|
| 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. |