Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
Pre-registers a component with a specific world. Only called on components that return ShouldIncrementalPreRegister(). Will initialize the necessary before calling OnPreRegister().
| Name | PreRegisterComponentWithWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp |
void PreRegisterComponentWithWorld
(
UWorld * InWorld
)
Parameters
| Name | Remarks |
|---|---|
| InWorld | The world to pre-register the component with. |