UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FISMPoolISM Struct Reference

#include <ISMPoolComponent.h>

Public Member Functions

void CreateISM (USceneComponent *InOwningComponent)
 
void InitISM (const FISMPoolStaticMeshInstance &InMeshInstance, bool bKeepAlive, bool bOverrideTransformUpdates=false)
 
FISMPoolInstanceGroups::FInstanceGroupId AddInstanceGroup (int32 InstanceCount, TArrayView< const float > CustomDataFloats)
 

Public Attributes

FISMPoolStaticMeshInstance MeshInstance
 
TObjectPtr< UInstancedStaticMeshComponentISMComponent
 
FISMPoolInstanceGroups InstanceGroups
 
TArray< FPrimitiveInstanceIdInstanceIds
 

Detailed Description

Structure containting all info for a single ISM.

Member Function Documentation

◆ AddInstanceGroup()

FISMPoolInstanceGroups::FInstanceGroupId FISMPoolISM::AddInstanceGroup ( int32  InstanceCount,
TArrayView< const float CustomDataFloats 
)

Add a group to the ISM. Returns the group index.

◆ CreateISM()

void FISMPoolISM::CreateISM ( USceneComponent *  InOwningComponent)

Create the ISMComponent according to settings on the mesh instance.

◆ InitISM()

void FISMPoolISM::InitISM ( const FISMPoolStaticMeshInstance InMeshInstance,
bool  bKeepAlive,
bool  bOverrideTransformUpdates = false 
)

Initialize the ISMComponent according to settings on the mesh instance.

Member Data Documentation

◆ InstanceGroups

FISMPoolInstanceGroups FISMPoolISM::InstanceGroups

Groups of instances allocated in the ISM.

◆ InstanceIds

TArray<FPrimitiveInstanceId> FISMPoolISM::InstanceIds

Id of Instance in ISMC

◆ ISMComponent

TObjectPtr<UInstancedStaticMeshComponent> FISMPoolISM::ISMComponent

Created ISM component. Will be nullptr when this slot has been recycled to FISMPool FreeList.

◆ MeshInstance

FISMPoolStaticMeshInstance FISMPoolISM::MeshInstance

Unique description of ISM component settings.


The documentation for this struct was generated from the following files: