Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IPanel

Interface for classes implementing UI panels.
Read time 1 minuteLast updated 4 days ago

Definition

public interface IPanel : IDisposable

Properties

Property

Description

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.
isDirtyChecks whether any element within the panel has had any changes to its state since the panel was last rendered.
scaledPixelsPerPointGives the current scaled pixels per point value of the panel.
visualTreeRoot of the VisualElement hierarchy.

Methods

Method

Description

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.

Inheritance

Inherited Members