Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMesh
Description
Caches the static meshes referenced by the Nanite Assembly data for the mesh to be used for build. Must be called on the game thread before any asynchronous building. You should only need to call this externally if caching render data manually (as opposed to using CacheDerivedData on the game thread or async mesh build).
| Name | CacheNaniteAssemblyReferences |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMesh.cpp |
void CacheNaniteAssemblyReferences
(
bool bWaitForAsyncCompile
)