Factory in charge of spawning sensors. 更多...
#include <TriggerFactory.h>
Private 成员函数 | |
TArray< FActorDefinition > | GetDefinitions () final |
Retrieve the definitions of all the sensors registered in the SensorRegistry. | |
FActorSpawnResult | SpawnActor (const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final |
Spawn an actor based on ActorDescription and Transform. | |
额外继承的成员函数 | |
Public 成员函数 继承自 ACarlaActorFactory | |
ACarlaActorFactory (const FObjectInitializer &ObjectInitializer) | |
Factory in charge of spawning sensors.
This factory is able to spawn every sensor registered in carla::sensor::SensorRegistry.
在文件 TriggerFactory.h 第 17 行定义.
|
finalprivatevirtual |
Retrieve the definitions of all the sensors registered in the SensorRegistry.
Sensors must implement a GetSensorDefinition() static method.
重载 ACarlaActorFactory .
在文件 TriggerFactory.cpp 第 21 行定义.
引用了 FActorDefinition::Class, UActorBlueprintFunctionLibrary::MakeTriggerDefinition() , 以及 Success.
|
finalprivatevirtual |
Spawn an actor based on ActorDescription and Transform.
重载 ACarlaActorFactory .
在文件 TriggerFactory.cpp 第 36 行定义.
引用了 FActorDescription::Class, UCarlaGameInstance::GetCarlaEpisode(), UCarlaStatics::GetGameInstance(), UActorBlueprintFunctionLibrary::RetrieveActorAttributeToFloat() , 以及 FActorDescription::Variations.