Navigation
API > API/Plugins > API/Plugins/TakeRecorderSources
A recording source that detects actors spawned close to the current camera, and captures them as spawnables
| Name | UTakeRecorderNearbySpawnedActorSource |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Takes/Source/TakeRecorderSources/Public/TakeRecorderNearbySpawnedActorSource.h |
| Include Path | #include "TakeRecorderNearbySpawnedActorSource.h" |
Syntax
UCLASS (MinimalAPI, Category="Actors")
class UTakeRecorderNearbySpawnedActorSource : public UTakeRecorderSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTakeRecorderSource → UTakeRecorderNearbySpawnedActorSource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTakeRecorderNearbySpawnedActorSource
(
const FObjectInitializer& ObjInit |
TakeRecorderNearbySpawnedActorSource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFilterSpawnedActors | bool | Should we only record actors that pass the filter list? | TakeRecorderNearbySpawnedActorSource.h |
|
| FilterTypes | TArray< TSubclassOf< AActor > > | A type filter to apply to spawned objects | TakeRecorderNearbySpawnedActorSource.h |
|
| Proximity | float | The proximity to the current camera that an actor must be spawned in order to be recorded as a spawnable. | TakeRecorderNearbySpawnedActorSource.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorSpawningDelegateHandles | TMap< TWeakObjectPtr< UWorld >, FDelegateHandle > | Delegate handles for FOnActorSpawned events | TakeRecorderNearbySpawnedActorSource.h | |
| SpawnedActorSources | TArray< TWeakObjectPtr< UTakeRecorderActorSource > > | Spawned actor sources to be removed at the end of recording | TakeRecorderNearbySpawnedActorSource.h |