simSetObjectFloatArrayParam

Sets a floating-point array parameter of a scene object

C++ synopsis

int simSetObjectFloatArrayParam(int objectHandle, int parameterID, const double* params, int size)

Arguments

  • objectHandle: handle of the object
  • parameterID: identifier of the parameter to retrieve. See the list of all possible object parameters
  • params: pointer to the double array
  • size: size of the double array

Return

  • -1 in case of an error, 0 if the parameter could not be set, or 1 if operation was successful


See also: