Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/UGeometryCollectionISMPoolCompon-
Description
Preallocate an ISM in the pool. Doing this early for known mesh instance descriptions can reduce the component registration cost of AddMeshToGroup() for newly discovered mesh descriptions.
| Name | PreallocateMeshInstance |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolComponent.h |
| Include Path | #include "GeometryCollection/GeometryCollectionISMPoolComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionISMPoolComponent.cpp |
void PreallocateMeshInstance
(
const FGeometryCollectionStaticMeshInstance & MeshInstance
)