Class DebugUI.Widget
Base class for all debug UI widgets.
Namespace: UnityEngine.Rendering
Syntax
public abstract class Widget : object
Fields
m_Panel
Panels containing the widget.
Declaration
protected DebugUI.Panel m_Panel
Field Value
Type | Description |
---|---|
DebugUI.Panel |
m_Parent
Parent container.
Declaration
protected DebugUI.IContainer m_Parent
Field Value
Type | Description |
---|---|
DebugUI.IContainer |
Properties
displayName
Display name.
Declaration
public string displayName { get; set; }
Property Value
Type | Description |
---|---|
String |
flags
Flags for the widget.
Declaration
public DebugUI.Flags flags { get; set; }
Property Value
Type | Description |
---|---|
DebugUI.Flags |
isEditorOnly
True if the widget is Editor only.
Declaration
public bool isEditorOnly { get; }
Property Value
Type | Description |
---|---|
Boolean |
isInactiveInEditor
True if the widget is inactive in the editor (ie: widget is runtime only and the application is not 'Playing')
Declaration
public bool isInactiveInEditor { get; }
Property Value
Type | Description |
---|---|
Boolean |
isRuntimeOnly
True if the widget is Runtime only.
Declaration
public bool isRuntimeOnly { get; }
Property Value
Type | Description |
---|---|
Boolean |
panel
Panels containing the widget.
Declaration
public virtual DebugUI.Panel panel { get; }
Property Value
Type | Description |
---|---|
DebugUI.Panel |
parent
Parent container.
Declaration
public virtual DebugUI.IContainer parent { get; }
Property Value
Type | Description |
---|---|
DebugUI.IContainer |
queryPath
Path of the widget.
Declaration
public string queryPath { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetHashCode()
Returns the hash code of the widget.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code of the widget. |