getCameraPrimFromRenderProduct#

Fully qualified name: isaacsim::core::includes::getCameraPrimFromRenderProduct

inline pxr::UsdPrim isaacsim::core::includes::getCameraPrimFromRenderProduct(
const std::string &renderProductPathString,
)#

Retrieves the camera prim associated with a render product.

Looks up the camera prim referenced by a render product in the current USD stage. The function performs several validation steps:

  1. Checks for valid stage and interfaces

  2. Creates render product prim handle

  3. Extracts camera path and retrieves corresponding prim

Note

Returns invalid prim if any required component is missing

Warning

Requires valid USD context and stage

Parameters:

renderProductPathString[in] Path to the render product as a string

Returns:

pxr::UsdPrim Camera prim if found, invalid prim otherwise