Regular API function

simSetInt32Parameter (remote API equivalent: simxSetIntegerParameter)

Description Sets an integer parameter. See also simGetInt32Parameter, simSetBoolParameter, simSetArrayParameter and simSetFloatParameter.
C synopsis simInt simSetInt32Parameter(simInt parameter,simInt intState)
C parameters
intState: new state for the parameter
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=simSetInt32Parameter(number parameter,number intState)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page