getCameraAttributeFromRenderProduct#

Fully qualified name: isaacsim::core::includes::getCameraAttributeFromRenderProduct

inline pxr::UsdAttribute isaacsim::core::includes::getCameraAttributeFromRenderProduct(
const std::string &attributeString,
const std::string &renderProductPathString,
)#

Retrieves a specific attribute from a camera associated with a render product.

Combines camera prim lookup with attribute access in a single function. Process:

  1. Gets the camera prim from render product

  2. Validates the camera prim

  3. Retrieves the requested attribute

See also

getCameraPrimFromRenderProduct

Note

Returns invalid attribute if camera prim is invalid

Parameters:
  • attributeString[in] Name of the attribute to retrieve

  • renderProductPathString[in] Path to the render product

Returns:

pxr::UsdAttribute The requested attribute if found, invalid attribute otherwise