Regular API function

simSetArrayParameter
remote API equivalent: simxSetArrayParameter
RosPlugin API equivalent: simRosSetArrayParameter

Description Sets 3 values of an array parameter. See also simGetArrayParameter, simSetBoolParameter, simSetInt32Parameter and simSetFloatParameter.
C synopsis simInt simSetArrayParameter(simInt parameter,const simVoid* parameterValues)
C parameters
parameterValues: array of 3 simFloat values related to the parameter (simVoid is kept for backward compatibility).
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=simSetArrayParameter(number parameter,table parameterValues)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page