Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_13
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolComponent.h |
| Include | #include "GeometryCollection/GeometryCollectionISMPoolComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionISMPoolComponent.cpp |
FMeshId AddMesh
(
const FGeometryCollectionStaticMeshInstance & MeshInstance,
int32 InstanceCount,
const FGeometryCollectionMeshInfo & ISMInstanceInfo,
TArrayView < const float > CustomDataFloats
)
Remarks
Adds a new mesh with instance count. We expect to only add a unique mesh instance once to each group. Returns a ID that can be used to update the instances.