Optionalname: stringOptionalminimum: numberOptionalmaximum: numberOptionalvalue: numberOptionalstep: numberOptionalisVertical: booleanOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberOptionaldisplayThumb: booleanName the slider is known by, which control.getControlByName finds it by
The value at the left or bottom end
The value at the right or top end
The value the slider starts at, between the minimum and maximum
The increment the value moves in; 1 gives whole numbers, 0 moves smoothly
When true, the slider runs bottom to top; when false, left to right
CSS color of the filled part of the track
CSS 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
When 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.