IPanel
Interface for classes implementing UI panels.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public interface IPanel : IDisposable
Properties
Property | Description |
|---|---|
| contextType | Describes in which context a VisualElement hierarchy is being ran. |
| contextualMenuManager | The Contextual menu manager for the panel. |
| dispatcher | This Panel EventDispatcher. |
| focusController | Return the focus controller for this panel. |
| isDirty | Checks whether any element within the panel has had any changes to its state since the panel was last rendered. |
| scaledPixelsPerPoint | Gives the current scaled pixels per point value of the panel. |
| visualTree | Root of the VisualElement hierarchy. |
Methods
Method | Description |
|---|---|
| Pick | Returns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore. |
| PickAll | Returns all elements at this position. Will not return elements with pickingMode set to PickingMode.Ignore. |