addReferenceToStage#
Fully qualified name: isaacsim::foundation::usd::openusd::addReferenceToStage
- void isaacsim::foundation::usd::openusd::addReferenceToStage(
- int64_t stageId,
- const std::string &path,
- const std::string &usdPath,
- const std::string &typeName = "Xform",
Adds a USD reference arc to a prim, defining it first if it does not exist.
- Parameters:
stageId – [in] Stage to operate on.
path – [in] Absolute SdfPath of the referencing prim.
usdPath – [in] File path or asset URL of the referenced USD asset.
typeName – [in] USD schema type name used when the prim is created.