getDisplayName#
Fully qualified name: usdex::core::getDisplayName
-
std::string usdex::core::getDisplayName(const pxr::UsdPrim &prim)#
Return this prim’s display name (metadata)
The
uiHints:displayNamevalue is preferred when authored. The originaldisplayNamefield is used as a fallback for compatibility with files authored by OpenUSD versions before 25.11. An authored empty value is returned as-is and blocks values from weaker layers.- Parameters:
prim – The prim to get the display name from
- Returns:
Authored value, or an empty string if no display name has been set