Regular API function

simSetUIPosition

Description Sets the position of an OpenGl-based custom UI. See also simGetUIPosition.
C synopsis simInt simSetUIPosition(simInt uiHandle,const simInt* position)
C parameters
uiHandle: handle of the OpenGl-based custom UI
position: pointer to 2 values (x and y)
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=simSetUIPosition(number uiHandle,table_2 position)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page