Skip to main content

FloatSlider

Complete API reference for FloatSlider, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Inspector

Component: no


public class FloatSlider

Constructors

SignatureDescription
FloatSlider(float, float, float)Creates a new instance of FloatSlider.

Attributes

NameTypeDescription
valuefloatRepresents the value value stored on this instance. Read or assign to update the property.
minfloatRepresents the min value stored on this instance. Read or assign to update the property.
maxfloatRepresents the max value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
maxfloatget/setReturns the maximum allowed value of the slider.
minfloatget/setReturns the minimum allowed value of the slider.
valuefloatget/setReturns the current value of the slider.

Methods

SignatureReturnsDescription
copy()FloatSliderReturns a copy of the FloatSlider.
toString()StringReturns a string representation of the FloatSlider.
serialize()StringSerializes the FloatSlider into a string in the format '[value;min;max;step]'.

Static Methods

SignatureReturnsDescription
inspectorController()ClassInspectorEntryExecutes inspectorController and returns after the underlying engine call finishes.
deserialize(String)FloatSliderDeserializes a string to create a FloatSlider instance.