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