getValidChildName#

Fully qualified name: usdex::core::getValidChildName

pxr::TfToken usdex::core::getValidChildName(
const pxr::UsdPrim &prim,
const std::string &name,
)#

Take a prim and a preferred name. Return a valid and unique name as the child name of the given prim.

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

  • name – A preferred prim name.

Returns:

A valid and unique name.