This version of Unity is unsupported.

IPanel

interface in UnityEngine.UIElements

Description

Interface for classes implementing UI panels.

Properties

contextTypeDescribes in which context a VisualElement hierarchy is being ran.
contextualMenuManagerThe Contextual menu manager for the panel.
dispatcherThis Panel EventDispatcher.
focusControllerReturn the focus controller for this panel.
visualTreeRoot of the VisualElement hierarchy.

Public Methods

PickReturns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore.
PickAllReturns all elements at this position. Will not return elements with pickingMode set to PickingMode.Ignore.