getSimulationIds#

Fully qualified name: isaacsim::physics::registration::getSimulationIds

size_t isaacsim::physics::registration::getSimulationIds(
SimulationId *simulationIds,
size_t bufferSize,
)#

Copies registered simulation identifiers into a caller-provided buffer.

Identifiers are copied in unspecified order. When bufferSize is smaller than the number of registered simulations, the subset copied is unspecified.

Parameters:
  • simulationIds – [out] The destination buffer, or nullptr to copy no identifiers and return zero.

  • bufferSize – [in] The capacity of simulationIds, in elements.

Returns:

The number of simulation identifiers copied. This value does not exceed bufferSize.