CARLA
 
载入中...
搜索中...
未找到
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.h
浏览该文件的文档.
1// Copyright (c) 2019 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
10
11#include "Kismet/BlueprintFunctionLibrary.h"
12
13#include "OpenDrive.generated.h"
14
15UCLASS()
16class CARLA_API UOpenDrive : public UBlueprintFunctionLibrary
17{
18 GENERATED_BODY()
19
20public:
21
22 /// @a MapNameOpenDrive XMLҲļ򷵻ؿա
23 UFUNCTION(BlueprintCallable, Category="CARLA|OpenDrive")
24 static FString GetXODR(const UWorld *World);
25
26 ///@a MapNameOpenDrive XMLҲļ򷵻ؿա
27 UFUNCTION(BlueprintCallable, Category="CARLA|OpenDrive")
28 static FString GetXODRByPath(FString XODRPath, FString MapName);
29
30 UFUNCTION(BlueprintCallable, Category="CARLA|OpenDrive")
31 static FString FindPathToXODRFile(const FString &InMapName);
32
33 UFUNCTION(BlueprintCallable, Category="CARLA|OpenDrive")
34 static FString LoadXODR(const FString &MapName);
35
36 /// MapNameOpenDriveMapҲͬMapNameODR򷵻nullptr
37 UFUNCTION(BlueprintCallable, Category="CARLA|OpenDrive")
38 static UOpenDriveMap *LoadOpenDriveMap(const FString &MapName);
39
40 /// 뵱ǰصӳOpenDriveMapҲ뵱ǰӳƥXODR򷵻nullptr
41 UFUNCTION(BlueprintPure, Category="CARLA|OpenDrive", meta=(WorldContext="WorldContextObject"))
42 static UOpenDriveMap *LoadCurrentOpenDriveMap(const UObject *WorldContextObject);
43};
TSharedPtr< const FActorInfo > carla::rpc::ActorState UWorld * World
将 CARLA OpenDrive API 公开给蓝图的辅助类。