Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Preliminary ID-based interface. May only be used if no other manipulations are performed that cause invalidation of IDs. For example, cannot be used on HISM. ISMs edited in the editor can also not reliably be used, as some editor changes cause ID tracking to be lost.
| Name | AddInstancesById |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
TArray < FPrimitiveInstanceId > AddInstancesById
(
const TArrayView < const FTransform > & InstanceTransforms,
bool bWorldSpace,
bool bUpdateNavigation
)