IPanelComponent
Interface for UI panel components, PanelRenderer and UIDocument.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public interface IPanelComponent
Properties
Property | Description |
|---|---|
| gameObject | The GameObject this panel component is attached to. |
| panelSettings | The panel settings used by this panel component. |
| parentUI | The parent panel component if this panel component is nested; otherwise, null. |
| pivot | The pivot point of the world space panel. |
| pivotReferenceSize | The reference size mode for the pivot of the world space panel. |
| position | The position (relative or absolute) of the world space panel. |
| sortingOrder | The sorting order of the panel component. |
| visualTreeAsset | The VisualTreeAsset used by this panel component. |
| worldSpaceSize | The fixed size of the world space panel, used when _worldSpaceSizeMode is set to Fixed. |
| worldSpaceSizeMode | The mode used to determine the size of the world space panel. |
Methods
Method | Description |
|---|---|
| PerformUpdate | Updates the panel component. |
| PerformValidation | Validates the panel component after the associated assets have changed. |