URigHierarchy::GetModulePathFName

Returns the path of the module an element belong to (or NAME_None in case the element doesn't belong to a module)