Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ISMPartition
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ISMPartition/ISMComponentBatcher.h |
| Include | #include "ISMPartition/ISMComponentBatcher.h" |
Syntax
struct FISMComponentBatcher
Remarks
Struct that allows batching of transforms and custom data of multiple (possibly instanced) static mesh components
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
const UActorComponent* InActorComponent |
Add a single component to be batched | |
| void | Add
(
const UActorComponent* InActorComponent, |
Add a single component to be batched | |
| void | Add an array of component to be batched | ||
| void | Append
(
const TArray< TComponentClass* >& InComponents, |
Add an array of components to be batched | |
| uint32 | GetHash () |
||
| int32 | Return the number of instances batched so far. | ||
| void | InitComponent
(
UInstancedStaticMeshComponent* ISMComponent |
Initialize the instances of the provided ISM component using the batched data stored in this class. |