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

Factory in charge of spawning static meshes. 更多...

#include <UtilActorFactory.h>

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

Private 成员函数

TArray< FActorDefinitionGetDefinitions () final
 Retrieve the definitions of the static mesh actor
 
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 static meshes.

This factory is able to spawn any mesh in content.

在文件 UtilActorFactory.h17 行定义.

成员函数说明

◆ GetDefinitions()

TArray< FActorDefinition > AUtilActorFactory::GetDefinitions ( )
finalprivatevirtual

Retrieve the definitions of the static mesh actor

重载 ACarlaActorFactory .

在文件 UtilActorFactory.cpp13 行定义.

◆ SpawnActor()

FActorSpawnResult AUtilActorFactory::SpawnActor ( const FTransform & SpawnAtTransform,
const FActorDescription & ActorDescription )
finalprivatevirtual

Spawn an actor based on ActorDescription and Transform.

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

重载 ACarlaActorFactory .

在文件 UtilActorFactory.cpp25 行定义.

引用了 FActorDescription::Class.


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