registerSimulation#

Fully qualified name: isaacsim::physics::registration::registerSimulation

SimulationId isaacsim::physics::registration::registerSimulation(
const Simulation &simulation,
const std::string &simulationName,
)#

Registers a simulation with the physics system.

The simulation is initially active. Registration emits an SimulationRegistryEventType::eSimulationRegistered event. The registry copies simulation; the caller does not need to retain the original function-table object.

Parameters:
  • simulation – [in] The simulation function table to register.

  • simulationName – [in] The human-readable simulation name.

Returns:

The identifier assigned to the registered simulation.