getValidChildNames#

Fully qualified name: usdex::core::getValidChildNames

pxr::TfTokenVector usdex::core::getValidChildNames(
const pxr::UsdPrim &prim,
const std::vector<std::string> &names,
)#

Take a prim and a vector of the preferred names. Return a matching vector of valid and unique names as the child names of the given prim.

Parameters:
  • prim – The USD prim where the given prim names should live under.

  • names – A vector of preferred prim names.

Returns:

A vector of valid and unique names.