Public Member Functions | Public Attributes | Private Attributes | List of all members
ACarlaHUD Class Reference

Class to draw on HUD. More...

#include <CarlaHUD.h>

+ Inheritance diagram for ACarlaHUD:
+ Collaboration diagram for ACarlaHUD:

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< HUDStringStringList

Detailed Description

Class to draw on HUD.

Definition at line 40 of file CarlaHUD.h.

Constructor & Destructor Documentation

◆ ACarlaHUD()

ACarlaHUD::ACarlaHUD ( const FObjectInitializer &  ObjectInitializer)

Definition at line 46 of file CarlaHUD.h.

Member Function Documentation

◆ AddDebugVehicleForTelemetry()

void ACarlaHUD::AddDebugVehicleForTelemetry ( UWheeledVehicleMovementComponent *  Veh)

Definition at line 55 of file CarlaHUD.h.

References HUDString::Color, HUDString::Location, and HUDString::Str.

Referenced by ACarlaWheeledVehicle::ShowDebugTelemetry().

+ Here is the caller graph for this function:

◆ AddHUDString()

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()().

+ Here is the caller graph for this function:

◆ DrawHUD()

void ACarlaHUD::DrawHUD ( )

Definition at line 11 of file CarlaHUD.cpp.

References DebugVehicle, and StringList.

Member Data Documentation

◆ DebugVehicle

UWheeledVehicleMovementComponent* ACarlaHUD::DebugVehicle {nullptr}

Definition at line 54 of file CarlaHUD.h.

Referenced by DrawHUD(), and ACarlaWheeledVehicle::ShowDebugTelemetry().

◆ StringList

TArray<HUDString> ACarlaHUD::StringList

Definition at line 60 of file CarlaHUD.h.

Referenced by AddHUDString(), and DrawHUD().

The documentation for this class was generated from the following files: