Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Add multiple instances to this component. Transform is given in local space of this component unless bWorldSpace is set.
Derived Overrides
| Name | AddInstances |
| 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 |
UFUNCTION (BlueprintCallable, Category="Components|InstancedStaticMesh")
virtual TArray < int32 > AddInstances
(
const TArray < FTransform > & InstanceTransforms,
bool bShouldReturnIndices,
bool bWorldSpace,
bool bUpdateNavigation
)