getValidPrimNames#

Fully qualified name: usdex::core::getValidPrimNames

pxr::TfTokenVector usdex::core::getValidPrimNames(
const std::vector<std::string> &names,
const pxr::TfTokenVector &reservedNames = {},
)#

Take a vector of the preferred names and return a matching vector of valid and unique names.

Parameters:
  • names – A vector of preferred prim names.

  • reservedNames – A vector of reserved prim names. Names in the vector will not be included in the returns.

Returns:

A vector of valid and unique names.