Optionalname: stringOptionalminimum: numberOptionalmaximum: numberOptionalvalue: numberOptionalstep: numberOptionalisVertical: booleanOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberOptionaldisplayThumb: booleanOptionalnameName the slider is known by, which control.getControlByName finds it by
OptionalminimumThe value at the left or bottom end
OptionalmaximumThe value at the right or top end
OptionalvalueThe value the slider starts at, between the minimum and maximum
OptionalstepThe increment the value moves in; 1 gives whole numbers, 0 moves smoothly
OptionalisWhen true, the slider runs bottom to top; when false, left to right
OptionalcolorCSS color of the filled part of the track
OptionalbackgroundCSS color of the unfilled part of the track
OptionalwidthWidth as a pixel string or a fraction; left out, a horizontal slider fills the parent and a vertical one is 42 pixels
OptionalheightHeight as a pixel string or a fraction; left out, a vertical slider fills the parent and a horizontal one is 42 pixels
OptionaldisplayWhen true, the draggable thumb is drawn; when false, only the track
Feeds
babylon.gui.slider.createSlider: the name, range, starting value, step, direction, colors, optional size and thumb of a slider.