isCapableOfSimulating#

Fully qualified name: isaacsim::physics::manager::isCapableOfSimulating

bool isaacsim::physics::manager::isCapableOfSimulating(
registration::SimulationId simulationId,
const char **schemaNames,
size_t schemaNamesCount,
bool *isCapable,
)#

Queries whether a simulation supports USD schema types or applied schema APIs.

Note

Exceptions raised by the selected backend query callback propagate to the caller.

Note

The simulation may be queried while inactive, but it must remain registered.

Parameters:
  • simulationId – [in] Identifier of the simulation to query.

  • schemaNames – [in] Array of null-terminated schema type or applied-schema API names. Must be non-null and reference at least schemaNamesCount entries when schemaNamesCount is nonzero. A null element requests an unsupported result for that entry.

  • schemaNamesCount – [in] Number of entries in schemaNames and isCapable.

  • isCapable – [out] Array with capacity for schemaNamesCount results. Must be non-null when schemaNamesCount is nonzero. Its contents are defined only when the function returns true.

Returns:

true if the backend completed the capability query and populated isCapable; otherwise, false.