Regular API function

simSetBoolParameter
remote API equivalent: simxSetBooleanParameter
RosPlugin API equivalent: simRosSetBooleanParameter

Description Sets a boolean parameter. See also simGetBoolParameter, simSetInt32Parameter, simSetArrayParameter and simSetFloatParameter.
C synopsis simInt simSetBoolParameter(simInt parameter,simBool boolState)
C parameters
boolState: new boolean 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=simSetBoolParameter(number parameter,boolean boolState)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page