Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- UInstancedStaticMeshComponent::AddInstances()
- UHierarchicalInstancedStaticMeshComponent::AddInstances()
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 |
virtual TArray< int32 > AddInstances
&40;
const TArray< FTransform > & InstanceTransforms,
bool bShouldReturnIndices,
bool bWorldSpace
&41;
Remarks
Add multiple instances to this component. Transform is given in local space of this component unless bWorldSpace is set.