CARLA
Loading...
Searching...
No Matches
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

Constructor & Destructor Documentation

◆ FShapeVisitor()

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

Definition at line 27 of file DebugShapeDrawer.cpp.

References bPersistentLines, BrightMultiplier, Color, LifeTime, and World.

Referenced by FDebugShapeDrawer::Draw().

Member Function Documentation

◆ operator()() [1/5]

◆ operator()() [2/5]

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

◆ operator()() [3/5]

◆ operator()() [4/5]

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

◆ operator()() [5/5]

Member Data Documentation

◆ bPersistentLines

bool FShapeVisitor::bPersistentLines
private

Definition at line 224 of file DebugShapeDrawer.cpp.

Referenced by FShapeVisitor().

◆ BrightMultiplier

double FShapeVisitor::BrightMultiplier = 1.0
staticconstexprprivate

Definition at line 235 of file DebugShapeDrawer.cpp.

Referenced by FShapeVisitor().

◆ Color

FLinearColor FShapeVisitor::Color
private

◆ 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

◆ World

UWorld* FShapeVisitor::World
private

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