Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/FGeometryCollectionMeshGroup
Description
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.
| Name | AddMesh |
| 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 |
FMeshId AddMesh
(
const FGeometryCollectionStaticMeshInstance & MeshInstance,
int32 InstanceCount,
const FGeometryCollectionMeshInfo & ISMInstanceInfo,
TArrayView < const float > CustomDataFloats
)