Class DebugUI.FloatField
Float field.
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
public class FloatField : DebugUI.Field<float>, DebugUI.IValueField
Fields
decimals
Number of decimals.
Declaration
public int decimals
Field Value
Type | Description |
---|---|
Int32 |
incStep
Step increment.
Declaration
public float incStep
Field Value
Type | Description |
---|---|
Single |
incStepMult
Step increment multiplier.
Declaration
public float incStepMult
Field Value
Type | Description |
---|---|
Single |
max
Maximum value function.
Declaration
public Func<float> max
Field Value
Type | Description |
---|---|
Func<Single> |
min
Minimum value function.
Declaration
public Func<float> min
Field Value
Type | Description |
---|---|
Func<Single> |
Methods
ValidateValue(Single)
Function used to validate the value when updating the field.
Declaration
public override float ValidateValue(float value)
Parameters
Type | Name | Description |
---|---|---|
Single | value | Input value. |
Returns
Type | Description |
---|---|
Single | Validated value. |
Overrides
UnityEngine.Rendering.DebugUI.Field<System.Single>.ValidateValue(System.Single)