Regular API function

simSetFloatParameter / sim.setFloatParameter (remote API equivalent: simxSetFloatingParameter)

Description Sets a floating point parameter. See also sim.getFloatParameter, sim.setBoolParameter, sim.setArrayParameter and sim.setInt32Parameter.
C synopsis simInt simSetFloatParameter(simInt parameter,simFloat floatState)
C parameters
floatState: 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=sim.setFloatParameter(number parameter,number floatState)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page