Navigation
API > API/Runtime > API/Runtime/ISMPool > API/Runtime/ISMPool/FISMPoolMeshGroup
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/ISMPool/Public/ISMPool/ISMPoolComponent.h |
| Include Path | #include "ISMPool/ISMPoolComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/ISMPool/Private/ISMPool/ISMPoolComponent.cpp |
FMeshId AddMesh
(
const FISMPoolStaticMeshInstance & MeshInstance,
int32 InstanceCount,
const FISMPoolMeshInfo & ISMInstanceInfo,
TArrayView < const float > CustomDataFloats
)