Add MJAPI to Get/SetUsdPrimPathUserValue declarations.

PiperOrigin-RevId: 846745363
Change-Id: I31f0af0675578a3dd63db7c56d9258206e19471d
This commit is contained in:
Sam Haves
2025-12-19 08:30:20 -08:00
committed by Copybara-Service
parent 9e150fe82c
commit 2935af23f0
+2 -2
View File
@@ -22,12 +22,12 @@ namespace mujoco {
namespace usd {
// Sets a user value on an mjsElement with the key "usd_primpath".
void SetUsdPrimPathUserValue(mjsElement* element,
MJAPI void SetUsdPrimPathUserValue(mjsElement* element,
const pxr::SdfPath& prim_path);
// Gets the user value associated with the key "usd_primpath" from an
// mjsElement. Returns empty pxr::SdfPath() if the value is not found.
pxr::SdfPath GetUsdPrimPathUserValue(mjsElement* element);
MJAPI pxr::SdfPath GetUsdPrimPathUserValue(mjsElement* element);
} // namespace usd
} // namespace mujoco