simSetObjectStringParam

Sets a string parameter of a scene object

C++ synopsis

int simSetObjectStringParam(int objectHandle, int parameterID, char* parameter, int parameterLength)

Arguments

  • objectHandle: handle of the object
  • parameterID: identifier of the parameter to set. See the list of all possible object parameters
  • parameter: parameter value (can contain embedded zeros)
  • parameterLength: length of the parameter value

Return

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


See also: