Class to draw on HUD. More...
#include <CarlaHUD.h>
Public Member Functions | |
ACarlaHUD (const FObjectInitializer &ObjectInitializer) | |
void | AddDebugVehicleForTelemetry (UWheeledVehicleMovementComponent *Veh) |
void | AddHUDString (const FString Str, const FVector Location, const FColor Color, double LifeTime) |
virtual void | DrawHUD () override |
Public Attributes | |
UWheeledVehicleMovementComponent * | DebugVehicle {nullptr} |
Private Attributes | |
TArray< HUDString > | StringList |
Class to draw on HUD.
Definition at line 40 of file CarlaHUD.h.
|
inline |
Definition at line 46 of file CarlaHUD.h.
|
inline |
Definition at line 55 of file CarlaHUD.h.
References HUDString::Color, HUDString::Location, and HUDString::Str.
Referenced by ACarlaWheeledVehicle::ShowDebugTelemetry().
void ACarlaHUD::AddHUDString | ( | const FString | Str, |
const FVector | Location, | ||
const FColor | Color, | ||
double | LifeTime | ||
) |
Definition at line 50 of file CarlaHUD.cpp.
References StringList.
Referenced by FShapeVisitor::operator()().
|
overridevirtual |
Definition at line 11 of file CarlaHUD.cpp.
References DebugVehicle, and StringList.
UWheeledVehicleMovementComponent* ACarlaHUD::DebugVehicle {nullptr} |
Definition at line 54 of file CarlaHUD.h.
Referenced by DrawHUD(), and ACarlaWheeledVehicle::ShowDebugTelemetry().
|
private |
Definition at line 60 of file CarlaHUD.h.
Referenced by AddHUDString(), and DrawHUD().