Navigation
Unreal Engine C++ API Reference > Plugins > USDUtilities
References
Module | USDUtilities |
Header | /Engine/Plugins/Importers/USDImporter/Source/USDUtilities/Public/USDConversionUtils.h |
Include | #include "USDConversionUtils.h" |
Source | /Engine/Plugins/Importers/USDImporter/Source/USDUtilities/Private/USDConversionUtils.cpp |
namespace UsdUtils
{
FString UsdUtils&58;&58;SanitizeUsdIdentifier
&40;
const TCHAR &42; InIdentifier
&41;
}
Remarks
Returns a modified version of InIdentifier that can be used as a USD prim or property name. This means only allowing letters, numbers and the underscore character. All others are replaced with underscores. Additionally, the first character cannot be a number. Note that this obviously doesn't check for a potential name collision.