Navigation
API > API/Plugins > API/Plugins/USDSchemas > API/Plugins/USDSchemas/FUsdInfoCache
References
| Module | USDSchemas |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDSchemas/Public/USDInfoCache.h |
| Include | #include "USDInfoCache.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDSchemas/Private/USDInfoCache.cpp |
TOptional< uint64 > GetSubtreeVertexCount
&40;
const UE::FSdfPath & Path
&41;
Remarks
Provides the total vertex or material slots counts for each prim and its subtree. This is built inside RebuildCacheForSubtree, so it will factor in the used Context's bMergeIdenticalMaterialSlots. Note that these aren't affected by actual collapsing: A prim that doesn't collapse its children will still provide the total sum of vertex counts of its entire subtree when queried