Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedSkinnedMeshComponent
Description
Add an instance to this component. Transform is given in local space of this component unless bWorldSpace is set.
| Name | AddInstance |
| 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")
FPrimitiveInstanceId AddInstance
(
const FTransform & InstanceTransform,
int32 AnimationIndex,
bool bWorldSpace
)