Open topic with navigation
<node3d:GUI:slider>.set
This action will set the current state of the slider
<node3d:GUI:slider>.set( |
|
position |
) |
|
position
The current position of the slider, between 0 and 1
Remarks
This will set the current position of the tick
Return Value
None
Example
slider = viz.addSlider()
slider.set(0.5) # Put the tick in the middle of the slider.
See also