omni::connect::core::getValidPropertyNames

Defined in omni/connect/core/PrimAlgo.h

pxr::TfTokenVector omni::connect::core::getValidPropertyNames(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 property names.

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

Returns

A vector of valid and unique names.