Add MJAPI to Get/SetUsdPrimPathUserValue declarations.
PiperOrigin-RevId: 846745363 Change-Id: I31f0af0675578a3dd63db7c56d9258206e19471d
This commit is contained in:
committed by
Copybara-Service
parent
9e150fe82c
commit
2935af23f0
@@ -22,12 +22,12 @@ namespace mujoco {
|
|||||||
namespace usd {
|
namespace usd {
|
||||||
|
|
||||||
// Sets a user value on an mjsElement with the key "usd_primpath".
|
// 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);
|
const pxr::SdfPath& prim_path);
|
||||||
|
|
||||||
// Gets the user value associated with the key "usd_primpath" from an
|
// Gets the user value associated with the key "usd_primpath" from an
|
||||||
// mjsElement. Returns empty pxr::SdfPath() if the value is not found.
|
// 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 usd
|
||||||
} // namespace mujoco
|
} // namespace mujoco
|
||||||
|
|||||||
Reference in New Issue
Block a user