Navigation
API > API/Runtime > API/Runtime/ISMPool
A mesh group which is a collection of meshes and their related FISMPoolMeshInfo. We group these with a single handle with the expectation that a client will want to own multiple meshs and release them together.
| Name | FISMPoolMeshGroup |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/ISMPool/Public/ISMPool/ISMPoolComponent.h |
| Include Path | #include "ISMPool/ISMPoolComponent.h" |
Syntax
struct FISMPoolMeshGroup
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FMeshId | int32 | ISMPool/ISMPoolComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowPerInstanceRemoval | bool | Flag for whether we allow removal of instances when transform scale is set to zero. | ISMPool/ISMPoolComponent.h | |
| MeshInfos | TArray< FISMPoolMeshInfo > | Array of allocated mesh infos. | ISMPool/ISMPoolComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshId AddMesh
(
const FISMPoolStaticMeshInstance& MeshInstance, |
Adds a new mesh with instance count. | ISMPool/ISMPoolComponent.h | |
void BatchUpdateInstanceCustomData
(
FISMPool& ISMPool, |
ISMPool/ISMPoolComponent.h | ||
bool BatchUpdateInstancesTransforms
(
FISMPool& ISMPool, |
Update instance transforms for a group of instances. | ISMPool/ISMPoolComponent.h | |
void RemoveAllMeshes
(
FISMPool& ISMPool |
Remove all of our managed meshes and associated instances. | ISMPool/ISMPoolComponent.h |