Navigation
API > API/Plugins > API/Plugins/TakeRecorderSources > API/Plugins/TakeRecorderSources/UTakeRecorderActorSource
Description
Ensure that the Object Template this recording is recording into has the specified component. Used to initialize dynamically added components that don't exist in the CDO.
| Name | EnsureObjectTemplateHasComponent |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Takes/Source/TakeRecorderSources/Public/TakeRecorderActorSource.h |
| Include Path | #include "TakeRecorderActorSource.h" |
| Source | /Engine/Plugins/VirtualProduction/Takes/Source/TakeRecorderSources/Private/TakeRecorderActorSource.cpp |
bool EnsureObjectTemplateHasComponent
(
UActorComponent * InComponent,
UActorComponent *& OutComponent
)
True if the given component was duplicated and OutComponent is valid.
Parameters
| Name | Remarks |
|---|---|
| InComponent | The component on the object that we want to check to see if it's a new component. |
| OutComponent | The newly duplicated component for the CDO (if any) |