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

#include <InstancedStaticMeshDelegates.h>

Classes

struct  FInstanceIndexUpdateData
 

Public Types

enum class  EInstanceIndexUpdateType : uint8 {
  Added , Removed , Relocated , Cleared ,
  Destroyed
}
 

Public Member Functions

 DECLARE_MULTICAST_DELEGATE_TwoParams (FOnInstanceIndexUpdated, UInstancedStaticMeshComponent *, TArrayView< const FInstanceIndexUpdateData >)
 

Static Public Attributes

static ENGINE_API FOnInstanceIndexUpdated OnInstanceIndexUpdated
 

Member Enumeration Documentation

◆ EInstanceIndexUpdateType

Enumerator
Added 

An instance has been added

Removed 

An instance has been removed

Relocated 

An instance has been relocated within the array of instances

Cleared 

All instances have been removed

Destroyed 

All instances have been removed, and the component is being destroyed

Member Function Documentation

◆ DECLARE_MULTICAST_DELEGATE_TwoParams()

FInstancedStaticMeshDelegates::DECLARE_MULTICAST_DELEGATE_TwoParams ( FOnInstanceIndexUpdated  ,
UInstancedStaticMeshComponent ,
TArrayView< const FInstanceIndexUpdateData  
)

Delegate called when the index of the instances within an ISM are updated.

Note
: This is only fired for instances added or removed via the various Add/Remove/ClearInstances functions, and not for instances updated via serialization or undo/redo.

Member Data Documentation

◆ OnInstanceIndexUpdated

FInstancedStaticMeshDelegates::FOnInstanceIndexUpdated FInstancedStaticMeshDelegates::OnInstanceIndexUpdated
static

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