getActivePhysicsEngineName#

Fully qualified name: isaacsim::core::includes::getActivePhysicsEngineName

inline const char *isaacsim::core::includes::getActivePhysicsEngineName(
)#

Return the name of the first active physics simulation, or nullptr if none is active.

Queries omni::physics::IPhysics for all registered simulations and returns the name of the first one that is currently active. The returned pointer is owned by the physics interface and remains valid until the simulation is unregistered.

Typical use: pass the result to TensorApi::createSimulationView as the backendName parameter so the correct tensor backend is selected automatically. Passing nullptr (no active simulation) falls back to PhysX.