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
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ISMPartition/ISMComponentBatcher.h | |||
FISMComponentBatcher
(
bool bInBuildMappingInfo |
ISMPartition/ISMComponentBatcher.h |
Structs
| Name | Remarks |
|---|---|
| FComponentToInstancesMapping | For a given batched component, store the range of the instances associated to it |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 | |
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 | |
| 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 | |
| Retrieve the component to instances mapping. | 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 |