Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Description
Completes the creation of a new actor component. Called either from blueprint after expose on spawn properties are set, or directly from AddComponent
| Name | FinishAddComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ActorConstruction.cpp |
UFUNCTION (BlueprintCallable, Meta=(BlueprintInternalUseOnly="true"))
void FinishAddComponent
(
UActorComponent * Component,
bool bManualAttachment,
const FTransform & RelativeTransform
)
Parameters
| Name | Remarks |
|---|---|
| Component | The component created in AddComponent to finish creation of |
| bManualAttachment | Whether manual or automatic attachment is to be used |
| RelativeTransform | The relative transform between the new component and its attach parent (automatic only) |