Class DebugState<T>
Generic serialized state of a Debug Item.
Namespace: UnityEditor.Rendering
Syntax
[Serializable]
public class DebugState<T> : DebugState
Type Parameters
| Name | Description |
|---|---|
| T |
Fields
m_Value
Value of the Debug Item.
Declaration
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 |
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. |