C# Class UnityEngine.Rendering.UI.DebugUIHandlerPanel

DebugUIHandler for panels.
Inheritance: MonoBehaviour
显示文件 Open project: m0nsky/hdrp_dxr_dlss

Public Properties

Property Type Description
Canvas UnityEngine.Rendering.UI.DebugUIHandlerCanvas
nameLabel Text
scrollRect ScrollRect
viewport RectTransform

Protected Properties

Property Type Description
m_Panel DebugUI.Panel

Public Methods

Method Description
OnEnable ( ) : void
OnScrollbarClicked ( ) : void

Scrollbar value clicked via mouse/touch.

ResetDebugManager ( ) : void

Function to reset DebugManager, provided for UI.

SelectNextItem ( ) : void

Select next panel on the canvas.

SelectPreviousItem ( ) : void

Select previous panel on the canvas.

Private Methods

Method Description
GetFirstItem ( ) : UnityEngine.Rendering.UI.DebugUIHandlerWidget
GetPanel ( ) : DebugUI.Panel
GetYPosInScroll ( RectTransform target ) : float
SetPanel ( DebugUI.Panel panel ) : void
SetScrollTarget ( UnityEngine.Rendering.UI.DebugUIHandlerWidget target ) : void
UpdateScroll ( ) : void

Method Details

OnEnable() public method

public OnEnable ( ) : void
return void

OnScrollbarClicked() public method

Scrollbar value clicked via mouse/touch.
public OnScrollbarClicked ( ) : void
return void

ResetDebugManager() public method

Function to reset DebugManager, provided for UI.
public ResetDebugManager ( ) : void
return void

SelectNextItem() public method

Select next panel on the canvas.
public SelectNextItem ( ) : void
return void

SelectPreviousItem() public method

Select previous panel on the canvas.
public SelectPreviousItem ( ) : void
return void

Property Details

Canvas public_oe property

Associated canvas.
public DebugUIHandlerCanvas,UnityEngine.Rendering.UI Canvas
return UnityEngine.Rendering.UI.DebugUIHandlerCanvas

m_Panel protected_oe property

protected DebugUI.Panel m_Panel
return DebugUI.Panel

nameLabel public_oe property

Name of the panel.
public Text nameLabel
return Text

scrollRect public_oe property

Scroll rect of the panel.
public ScrollRect scrollRect
return ScrollRect

viewport public_oe property

Viewport of the panel.
public RectTransform viewport
return RectTransform