|
CARLA
|
Class to draw on HUD. More...
#include <CarlaHUD.h>
Inheritance diagram for ACarlaHUD:Public Member Functions | |
| ACarlaHUD (const FObjectInitializer &ObjectInitializer) | |
| void | AddDebugVehicleForTelemetry (UChaosWheeledVehicleMovementComponent *NewDebugVehiclePtr) |
| void | AddHUDString (const FString Str, const FVector Location, const FColor Color, double LifeTime) |
| void | ClearDebugStrings () |
| void | DrawDebug (float &YL, float &YPos) |
| Draw 2D debug text graphs on UI for the wheels, suspension and other systems. | |
| virtual void | DrawHUD () override |
Public Attributes | |
| UChaosWheeledVehicleMovementComponent * | DebugVehicle = nullptr |
Private Attributes | |
| TArray< HUDString > | StringList |
Class to draw on HUD.
Definition at line 44 of file CarlaHUD.h.
|
inline |
Definition at line 50 of file CarlaHUD.h.
|
inline |
Definition at line 63 of file CarlaHUD.h.
Referenced by ACarlaWheeledVehicle::ShowDebugTelemetry().
| void ACarlaHUD::AddHUDString | ( | const FString | Str, |
| const FVector | Location, | ||
| const FColor | Color, | ||
| double | LifeTime | ||
| ) |
Definition at line 56 of file CarlaHUD.cpp.
References StringList.
Referenced by FShapeVisitor::operator()().
|
inline |
Definition at line 70 of file CarlaHUD.h.
Referenced by FCarlaServer::FPimpl::BindActions().
| void ACarlaHUD::DrawDebug | ( | float & | YL, |
| float & | YPos | ||
| ) |
Draw 2D debug text graphs on UI for the wheels, suspension and other systems.
Definition at line 64 of file CarlaHUD.cpp.
References DebugVehicle.
Referenced by DrawHUD().
|
overridevirtual |
Definition at line 17 of file CarlaHUD.cpp.
References DebugVehicle, DrawDebug(), and StringList.
| UChaosWheeledVehicleMovementComponent* ACarlaHUD::DebugVehicle = nullptr |
Definition at line 61 of file CarlaHUD.h.
Referenced by DrawDebug(), DrawHUD(), and ACarlaWheeledVehicle::ShowDebugTelemetry().
|
private |
Definition at line 76 of file CarlaHUD.h.
Referenced by AddHUDString(), and DrawHUD().