Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedSkinnedMeshComponent
Description
Add multiple instances to this component. Transform is given in local space of this component unless bWorldSpace is set.
| Name | AddInstances |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedSkinnedMeshComponent.h |
| Include Path | #include "Components/InstancedSkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/InstancedSkinnedMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|InstancedSkinnedMesh")
TArray < FPrimitiveInstanceId > AddInstances
(
const TArray < FTransform > & Transforms,
const TArray < int32 > & AnimationIndices,
bool bShouldReturnIds,
bool bWorldSpace
)