Inheritance
System.Object
FloatProperty
Inherited Members
DiagnosticsProperty<Nullable<Single>>.lazy(String, ComputePropertyValueCallback<Nullable<Single>>, String, String, String, Boolean, Boolean, Object, String, Boolean, DiagnosticsTreeStyle, DiagnosticLevel)
public class FloatProperty : _NumProperty<float? >
Constructors
Declaration
public FloatProperty(string name, float? value, string ifNull = null, string unit = null, string tooltip = null, object defaultValue = null, bool showName = true, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Nullable<System.Single> |
value |
|
System.String |
ifNull |
|
System.String |
unit |
|
System.String |
tooltip |
|
System.Object |
defaultValue |
|
System.Boolean |
showName |
|
DiagnosticLevel |
level |
|
Methods
Declaration
public static FloatProperty lazy(string name, ComputePropertyValueCallback<float? > computeValue, string ifNull = null, bool showName = true, string unit = null, string tooltip = null, object defaultValue = null, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Type |
Name |
Description |
System.String |
name |
|
ComputePropertyValueCallback<System.Nullable<System.Single>> |
computeValue |
|
System.String |
ifNull |
|
System.Boolean |
showName |
|
System.String |
unit |
|
System.String |
tooltip |
|
System.Object |
defaultValue |
|
DiagnosticLevel |
level |
|
Returns
Declaration
protected override string numberToString()
Returns
Type |
Description |
System.String |
|
Overrides
Unity.UIWidgets.foundation._NumProperty<System.Nullable<System.Single>>.numberToString()