类 | |
| struct | MeshPart |
函数 | |
| Result< void > | appendTriangle (asset::CanonicalMeshData &mesh, const std::array< std::array< double, 3 >, 3 > &triangle, const AssetImportLimits &limits) |
| Result< PreparedAssetImport > | packageModel (const ImportPackageIdentity &identity, std::string_view sourceName, std::string_view format, std::map< std::string, MeshPart > parts, const std::map< std::string, std::vector< std::uint8_t > > &sources, std::vector< ImportFinding > findings, const AssetImportLimits &limits) |
函数说明
◆ appendTriangle()
| Result< void > eve::asset_import::structured_detail::appendTriangle | ( | asset::CanonicalMeshData & | mesh, |
| const std::array< std::array< double, 3 >, 3 > & | triangle, | ||
| const AssetImportLimits & | limits | ||
| ) |
在文件 StructuredModelCommon.cpp 第 8 行定义.
引用了 a, axis, b, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, length, limits, mesh, normal, eve::ParseError, point, eve::Result< T >::success(), triangle, value , 以及 vertices.
◆ packageModel()
| Result< PreparedAssetImport > eve::asset_import::structured_detail::packageModel | ( | const ImportPackageIdentity & | identity, |
| std::string_view | sourceName, | ||
| std::string_view | format, | ||
| std::map< std::string, MeshPart > | parts, | ||
| const std::map< std::string, std::vector< std::uint8_t > > & | sources, | ||
| std::vector< ImportFinding > | findings, | ||
| const AssetImportLimits & | limits | ||
| ) |
在文件 StructuredModelCommon.cpp 第 44 行定义.
引用了 eve::asset_import::detail::assetRef(), axis, eve::asset_import::detail::baseManifest(), blob, bytes, eve::asset::encodeCanonicalMesh(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::asset_import::detail::finalizeImportReport(), findings, id, identity, index, eve::InvalidArgument, limits, eve::asset_import::PreparedAssetImport::manifest, maximum, eve::asset::CanonicalMeshLimits::maximumDecodedBytes, minimum, name, node, nodes, out, parent, parts, path, reference, eve::asset::RuntimeRequired, scene, eve::asset_import::detail::sha256(), sources, eve::Value::toJson(), type , 以及 version.