Used to tag every actor that is spawned into the world. More...
#include <TaggerDelegate.h>
Public Member Functions | |
void | OnActorSpawned (AActor *Actor) |
void | RegisterSpawnHandler (UWorld *World) |
void | SetSemanticSegmentationEnabled (bool Enable=true) |
UTaggerDelegate () | |
Private Attributes | |
FOnActorSpawned::FDelegate | ActorSpawnedDelegate |
bool | bSemanticSegmentationEnabled = false |
Used to tag every actor that is spawned into the world.
Definition at line 15 of file TaggerDelegate.h.
UTaggerDelegate::UTaggerDelegate | ( | ) |
Definition at line 14 of file TaggerDelegate.cpp.
void UTaggerDelegate::OnActorSpawned | ( | AActor * | Actor | ) |
Definition at line 22 of file TaggerDelegate.cpp.
References bSemanticSegmentationEnabled, and ATagger::TagActor().
void UTaggerDelegate::RegisterSpawnHandler | ( | UWorld * | World | ) |
Definition at line 17 of file TaggerDelegate.cpp.
References ActorSpawnedDelegate.
Referenced by ACarlaGameModeBase::InitGame().
|
inline |
Definition at line 25 of file TaggerDelegate.h.
Referenced by ACarlaGameModeBase::BeginPlay().
|
private |
Definition at line 34 of file TaggerDelegate.h.
Referenced by RegisterSpawnHandler().
|
private |
Definition at line 36 of file TaggerDelegate.h.
Referenced by OnActorSpawned().