Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
TArray < FPrimitiveInstanceId > AddInstancesById
(
const TArrayView < const FTransform > & InstanceTransforms,
bool bWorldSpace,
bool bUpdateNavigation
)
Remarks
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.