TypeBuilders.FloatProp
@RequiresSchemaVersion(major = 1, minor = 0)
public final class TypeBuilders.FloatProp
A float type.
Summary
Nested types |
---|
public final class TypeBuilders.FloatProp.Builder Builder for |
Public methods |
|
---|---|
@Nullable DynamicBuilders.DynamicFloat |
Gets the dynamic value. |
float |
getValue() Gets the static value. |
@NonNull String |
toString() |
Public methods
getDynamicValue
Added in 1.0.0
public @Nullable DynamicBuilders.DynamicFloat getDynamicValue()
Gets the dynamic value. Note that when setting this value, the static value is still required to be set to support older renderers that only read the static value. If
dynamicValue
has an invalid result, the provided static value will be used instead.