CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
ACarlaActorFactoryBlueprint类 参考

Base class for Blueprints implementing ACarlaActorFactory interface. 更多...

#include <CarlaActorFactoryBlueprint.h>

+ 类 ACarlaActorFactoryBlueprint 继承关系图:
+ ACarlaActorFactoryBlueprint 的协作图:

Public 成员函数

TArray< FActorDefinitionGetDefinitions () final
 Retrieve the list of actor definitions that this class is able to spawn.
 
FActorSpawnResult SpawnActor (const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final
 Spawn an actor based on ActorDescription and Transform.
 
- Public 成员函数 继承自 ACarlaActorFactory
 ACarlaActorFactory (const FObjectInitializer &ObjectInitializer)
 

Protected 成员函数

TArray< FActorDefinitionGenerateDefinitions ()
 
void SpawnActor (const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription, FActorSpawnResult &SpawnResult)
 

详细描述

Base class for Blueprints implementing ACarlaActorFactory interface.

Blueprints deriving from this class are expected to override GetDefinitions and SpawnActor functions.

在文件 CarlaActorFactoryBlueprint.h21 行定义.

成员函数说明

◆ GenerateDefinitions()

TArray< FActorDefinition > ACarlaActorFactoryBlueprint::GenerateDefinitions ( )
protected

◆ GetDefinitions()

TArray< FActorDefinition > ACarlaActorFactoryBlueprint::GetDefinitions ( )
inlinefinalvirtual

Retrieve the list of actor definitions that this class is able to spawn.

重载 ACarlaActorFactory .

在文件 CarlaActorFactoryBlueprint.h27 行定义.

◆ SpawnActor() [1/2]

FActorSpawnResult ACarlaActorFactoryBlueprint::SpawnActor ( const FTransform & SpawnAtTransform,
const FActorDescription & ActorDescription )
inlinefinalvirtual

Spawn an actor based on ActorDescription and Transform.

前置条件
ActorDescription is expected to be derived from one of the definitions retrieved with GetDefinitions.

重载 ACarlaActorFactory .

在文件 CarlaActorFactoryBlueprint.h32 行定义.

◆ SpawnActor() [2/2]

void ACarlaActorFactoryBlueprint::SpawnActor ( const FTransform & SpawnAtTransform,
const FActorDescription & ActorDescription,
FActorSpawnResult & SpawnResult )
protected

该类的文档由以下文件生成: