public interface IFloatProperty
| Modifier and Type | Interface and Description |
|---|---|
static class |
IFloatProperty.WithState
A simple implementation that holds its own state.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getFloat()
Get the float value.
|
boolean |
isValidFloat(float value)
Returns true if the float value is valid.
|
void |
setFloat(float value)
Set the float value, regardless of it being a valid value or not.
|
default boolean |
trySetFloat(float value)
Try to set the float value.
|
float getFloat()
void setFloat(float value)
value - the float valueboolean isValidFloat(float value)
value - the float valuedefault boolean trySetFloat(float value)
value - the float value