CARLA
 
载入中...
搜索中...
未找到
StaticMeshFactory.h
浏览该文件的文档.
1// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
11
12#include "StaticMeshFactory.generated.h"
13
14/// Factory in charge of spawning static meshes. This factory is able to spawn
15/// any mesh in content.
16UCLASS()
17class CARLA_API AStaticMeshFactory : public ACarlaActorFactory
18{
19 GENERATED_BODY()
20
21 /// Retrieve the definitions of the static mesh actor
22 TArray<FActorDefinition> GetDefinitions() final;
23
24 FActorSpawnResult SpawnActor(
25 const FTransform &SpawnAtTransform,
26 const FActorDescription &ActorDescription) final;
27};
Base class for Carla actor factories.
Factory in charge of spawning static meshes.
A description of a Carla Actor with all its variation.
Result of an actor spawn function.