CARLA
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
FShapeVisitor Struct Reference

Public Types

using Shape = carla::rpc::DebugShape
 

Public Member Functions

 FShapeVisitor (UWorld &InWorld, FColor InColor, float InLifeTime, bool bInPersistentLines)
 
void operator() (const Shape::Arrow &Arrow) const
 
void operator() (const Shape::Box &Box) const
 
void operator() (const Shape::Line &Line) const
 
void operator() (const Shape::Point &Point) const
 
void operator() (const Shape::String &Str) const
 

Private Attributes

bool bPersistentLines
 
FLinearColor Color
 
uint8 DepthPriority = SDPG_World
 
float LifeTime
 
UWorld * World
 

Static Private Attributes

static constexpr double BrightMultiplier = 1.0
 

Detailed Description

Definition at line 23 of file DebugShapeDrawer.cpp.

Member Typedef Documentation

◆ Shape

Definition at line 25 of file DebugShapeDrawer.cpp.

Constructor & Destructor Documentation

◆ FShapeVisitor()

FShapeVisitor::FShapeVisitor ( UWorld &  InWorld,
FColor  InColor,
float  InLifeTime,
bool  bInPersistentLines 
)
inline

Definition at line 27 of file DebugShapeDrawer.cpp.

References World.

Member Function Documentation

◆ operator()() [1/5]

void FShapeVisitor::operator() ( const Shape::Arrow &  Arrow) const
inline

◆ operator()() [2/5]

void FShapeVisitor::operator() ( const Shape::Box &  Box) const
inline

◆ operator()() [3/5]

void FShapeVisitor::operator() ( const Shape::Line &  Line) const
inline

◆ operator()() [4/5]

void FShapeVisitor::operator() ( const Shape::Point &  Point) const
inline

◆ operator()() [5/5]

void FShapeVisitor::operator() ( const Shape::String &  Str) const
inline

Member Data Documentation

◆ bPersistentLines

bool FShapeVisitor::bPersistentLines
private

Definition at line 224 of file DebugShapeDrawer.cpp.

◆ BrightMultiplier

constexpr double FShapeVisitor::BrightMultiplier = 1.0
staticconstexprprivate

Definition at line 235 of file DebugShapeDrawer.cpp.

◆ Color

FLinearColor FShapeVisitor::Color
private

Definition at line 220 of file DebugShapeDrawer.cpp.

Referenced by operator()(), operator()(), operator()(), operator()(), and operator()().

◆ DepthPriority

uint8 FShapeVisitor::DepthPriority = SDPG_World
private

Definition at line 226 of file DebugShapeDrawer.cpp.

Referenced by operator()(), operator()(), operator()(), and operator()().

◆ LifeTime

float FShapeVisitor::LifeTime
private

Definition at line 222 of file DebugShapeDrawer.cpp.

Referenced by operator()(), operator()(), operator()(), operator()(), and operator()().

◆ World

UWorld* FShapeVisitor::World
private

The documentation for this struct was generated from the following file: