Class DebugState<T>
Generic serialized state of a Debug Item.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEditor.Rendering
Syntax
[Serializable]
public class DebugState<T> : DebugState
Type Parameters
| Name | Description | 
|---|---|
| T | 
Fields
m_Value
Value of the Debug Item.
Declaration
[SerializeField]
protected T m_Value
Field Value
| Type | Description | 
|---|---|
| T | 
Properties
value
Value of the Debug Item
Declaration
public virtual T value { get; set; }
Property Value
| Type | Description | 
|---|---|
| T | 
Methods
GetHashCode()
Returns the hash code of the Debug Item.
Declaration
public override int GetHashCode()
Returns
| Type | Description | 
|---|---|
| Int32 | Hash code of the Debug Item  | 
Overrides
GetValue()
Returns the value of the Debug Item.
Declaration
public override object GetValue()
Returns
| Type | Description | 
|---|---|
| Object | Value of the Debug Item.  | 
Overrides
SetValue(Object, DebugUI.IValueField)
Set the value of the Debug Item.
Declaration
public override void SetValue(object value, DebugUI.IValueField field)
Parameters
| Type | Name | Description | 
|---|---|---|
| Object | value | Input value.  | 
| DebugUI.IValueField | field | Debug Item field.  |