Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent > API/Runtime/Engine/Components/UInstancedStaticMeshComponent/RemoveInstances
- UInstancedStaticMeshComponent::RemoveInstances()
- UHierarchicalInstancedStaticMeshComponent::RemoveInstances()
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 bool RemoveInstances
&40;
const TArray< int32 > & InstancesToRemove,
bool bInstanceArrayAlreadySortedInReverseOrder
&41;
Remarks
Remove the instances specified. Returns True on success.
Parameters
| Name | Description |
|---|---|
| InstancesToRemove | array of the instance indices to remove ( can be sorted |
| bInstanceArrayAlreadySortedInReverseOrder | true is the array is already sorted in reverse order |
See Also
bInstanceArrayAlreadySortedInReverseOrder )