载入中...
搜索中...
未找到
eve::asset_import::unity_detail 命名空间参考
函数 | |
| Result< std::string > | metaScalar (std::span< const std::uint8_t > bytes, std::string_view key, std::string_view path) |
| Read an unindented scalar from .meta; rejects duplicate keys and binary metadata. | |
| std::string | foldAscii (std::string value) |
| Fold ascii. | |
| bool | validGuid (std::string_view value) |
| Valid guid. | |
| bool | validPath (std::string_view path, const AssetImportLimits &limits) |
| Valid path. | |
函数说明
◆ foldAscii()
|
inline |
Fold ascii.
在文件 UnitySourceInternal.h 第 71 行定义.
被这些函数引用 eve::asset_import::bindUnityRenderers(), eve::asset_import::indexUnitySources() , 以及 eve::asset_import::prepareUnitySpriteAnimation().
◆ metaScalar()
| Result< std::string > eve::asset_import::unity_detail::metaScalar | ( | std::span< const std::uint8_t > | bytes, |
| std::string_view | key, | ||
| std::string_view | path | ||
| ) |
Read an unindented scalar from .meta; rejects duplicate keys and binary metadata.
在文件 UnitySource.cpp 第 10 行定义.
引用了 at, bytes, eve::Conflict, end, eve::Diagnostic::error(), eve::Result< T >::failure(), first, found, eve::isValidUtf8(), key, line, eve::ParseError, path, eve::Reject, eve::Result< T >::success(), text , 以及 value.
◆ validGuid()
|
inline |
Valid guid.
在文件 UnitySourceInternal.h 第 78 行定义.
◆ validPath()
|
inline |
Valid path.
在文件 UnitySourceInternal.h 第 85 行定义.
引用了 c, end, eve::isValidUtf8(), limits, path, eve::Reject , 以及 start.