Regular API function

simSetFloatParameter / sim.setFloatParameter

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
Lua synopsis sim.setFloatParameter(number parameter,number floatState)
Lua parameters
Similar to the C-function counterpart
Lua return values
none
Remote API equiv.
B0-based remote API: simxSetFloatParameter
Legacy remote API: simxSetFloatingParameter

All regular API functions on one page