Navigation
API > API/Plugins > API/Plugins/TakeRecorderSources > API/Plugins/TakeRecorderSources/UTakeRecorderActorSource
Description
Gets all Scene components that are a child of the specified component. Use the Root Component if you want all child components on an actor.
| Name | GetSceneComponents |
| 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 |
void GetSceneComponents
(
USceneComponent * OnSceneComponent,
TSet< TWeakObjectPtr < UActorComponent > > & OutArray,
bool bUpdateReferencedActorList
)
Parameters
| Name | Remarks |
|---|---|
| OnSceneComponent | The component who's children we look at. |
| OutArray | Set of components to add found components to. |
| bUpdateReferencedActorList | If true will add any external Actors referenced to the NewReferencedActors list, and possibly print warnings. |