BlackboardField
GraphElement that represents a field of a Graph.
Read time 9 minutesLast updated 9 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
- Inherits from: GraphElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable
public class BlackboardField : GraphElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable
Constructors
Constructor | Description |
|---|---|
| BlackboardField() | Constructs a BlackboardField. |
| BlackboardField(UnityEngine.Texture,System.String,System.String) | Constructs a BlackboardField. |
Properties
Property | Description |
|---|---|
| blackboard | The Blackboard that the field belongs to. |
| highlighted | The highlighted state of this BlackboardField. |
| icon | The icon of this BlackboardField. |
| text | The text of this BlackboardField. |
| typeText | The text that displays the data type of this BlackboardField. |
Methods
Method | Description |
|---|---|
| BuildFieldContextualMenu | Called when the BlackboardField is asked to display the contextual menu. |
| HandleEventBubbleUp | Executes logic on this element during the BubbleUp phase, immediately before this element's BubbleUp callbacks. Calling StopPropagation will prevent further invocations of this method along the propagation path. |
| OpenTextEditor | Opens a TextField to edit the text in a BlackboardField. |