Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IPanel

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

Definition

public interface IPanel : IDisposable

Properties

Property

Description

contextTypeDescribes in which context a VisualElement hierarchy is being run.
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

PickFinds the top-most VisualElement overlapping the provided point.
PickAllFinds all VisualElements overlapping the provided point.

Inheritance

Inherited Members