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