Navigation
API > API/Plugins > API/Plugins/USDUtilities > API/Plugins/USDUtilities/FUsdInfoCache
Description
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
| Name | GetSubtreeVertexCount |
| Type | function |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDUtilities/Public/Objects/USDInfoCache.h |
| Include Path | #include "Objects/USDInfoCache.h" |
| Source | /Engine/Plugins/Runtime/USDCore/Source/USDUtilities/Private/Objects/USDInfoCache.cpp |
TOptional < uint64 > GetSubtreeVertexCount
(
const UE::FSdfPath & Path
)