#include <OpenDriveActor.h>
Public 成员函数 | |
void | AddSpawners () |
AOpenDriveActor (const FObjectInitializer &ObjectInitializer) | |
void | BuildRoutes () |
void | BuildRoutes (FString MapName) |
void | DebugRoutes () const |
void | RemoveDebugRoutes () const |
void | RemoveRoutes () |
Remove all the existing ARoutePlanner and VehicleSpawners previously generated by this class to avoid overlapping | |
void | RemoveSpawners () |
Public 属性 | |
TArray< ARoutePlanner * > | RoutePlanners |
Protected 属性 | |
UBillboardComponent * | SpriteComponent |
A UBillboardComponent to hold Icon sprite | |
UTexture2D * | SpriteTexture |
Sprite for the Billboard Component | |
Private 属性 | |
bool | bAddSpawners = false |
If true, spawners will be placed when generating the routes | |
bool | bOnIntersections = false |
If true, spawners will be placed on junctions too | |
float | RoadAccuracy = 2.f |
Distance between waypoints where the cars will drive | |
float | SpawnersHeight = 300.f |
Determine the height where the spawners will be placed, relative to each RoutePlanner | |
float | TriggersHeight = 100.f |
Trigger elevantion | |
TArray< AVehicleSpawnPoint * > | VehicleSpawners |
在文件 OpenDriveActor.h 第 22 行定义.
AOpenDriveActor::AOpenDriveActor | ( | const FObjectInitializer & | ObjectInitializer | ) |
在文件 OpenDriveActor.cpp 第 30 行定义.
引用了 SpriteComponent.
void AOpenDriveActor::AddSpawners | ( | ) |
在文件 OpenDriveActor.cpp 第 275 行定义.
引用了 bOnIntersections, RoutePlanners, SpawnersHeight , 以及 VehicleSpawners.
void AOpenDriveActor::BuildRoutes | ( | ) |
void AOpenDriveActor::BuildRoutes | ( | FString | MapName | ) |
void AOpenDriveActor::DebugRoutes | ( | ) | const |
在文件 OpenDriveActor.cpp 第 257 行定义.
引用了 RoutePlanners.
void AOpenDriveActor::RemoveDebugRoutes | ( | ) | const |
在文件 OpenDriveActor.cpp 第 268 行定义.
void AOpenDriveActor::RemoveRoutes | ( | ) |
Remove all the existing ARoutePlanner and VehicleSpawners previously generated by this class to avoid overlapping
在文件 OpenDriveActor.cpp 第 244 行定义.
引用了 RoutePlanners.
void AOpenDriveActor::RemoveSpawners | ( | ) |
在文件 OpenDriveActor.cpp 第 297 行定义.
引用了 VehicleSpawners.
|
private |
If true, spawners will be placed when generating the routes
在文件 OpenDriveActor.h 第 63 行定义.
|
private |
If true, spawners will be placed on junctions too
在文件 OpenDriveActor.h 第 67 行定义.
被这些函数引用 AddSpawners().
|
private |
Distance between waypoints where the cars will drive
在文件 OpenDriveActor.h 第 48 行定义.
被这些函数引用 BuildRoutes().
TArray<ARoutePlanner *> AOpenDriveActor::RoutePlanners |
在文件 OpenDriveActor.h 第 112 行定义.
被这些函数引用 AddSpawners(), BuildRoutes(), DebugRoutes() , 以及 RemoveRoutes().
|
private |
Determine the height where the spawners will be placed, relative to each RoutePlanner
在文件 OpenDriveActor.h 第 72 行定义.
被这些函数引用 AddSpawners().
|
protected |
|
protected |
Sprite for the Billboard Component
在文件 OpenDriveActor.h 第 32 行定义.
|
private |
|
private |
在文件 OpenDriveActor.h 第 37 行定义.
被这些函数引用 AddSpawners() , 以及 RemoveSpawners().