Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGComponent
Description
Creates a managed component resource and adds it to the current component. Note: in native code, consider using the explicit creation especially if there are special resource objects involved.
| Name | AddComponentsToManagedResources |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGComponent.h |
| Include Path | #include "PCGComponent.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PCG)
void AddComponentsToManagedResources
(
const TArray < UActorComponent * > & InComponents
)