Regular API function

remote API equivalent: simxSetUISlider
RosPlugin API equivalent: simRosSetUISlider

Description Sets the slider position of an OpenGl-based custom UI button (must be a slider-type button). See also simGetUISlider.
C synopsis simInt simSetUISlider(simInt uiHandle,simInt buttonHandle,simInt position)
C parameters
uiHandle: OpenGl-based custom UI handle
buttonHandle: button handle
position: slider position. valid values are between 0 and 1000
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetUISlider(number uiHandle,number buttonHandle,number position)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page