CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ACarlaNavModifierBox Class Reference

Oriented box that stamps a nav area class onto the navmesh polys it overlaps (crosswalks generated from the OpenDRIVE by the CarlaCrosswalkNav world-partition builder). More...

#include <CarlaNavModifierBox.h>

+ Inheritance diagram for ACarlaNavModifierBox:

Public Member Functions

 ACarlaNavModifierBox (const FObjectInitializer &ObjectInitializer)
 
void Configure (TSubclassOf< UNavArea > AreaClass, const FVector &BoxExtent)
 Set the stamped area and the box half-extent (called by the builder before the actor package is saved).
 

Public Attributes

TObjectPtr< UBoxComponent > Box
 
TObjectPtr< UNavModifierComponent > NavModifier
 

Detailed Description

Oriented box that stamps a nav area class onto the navmesh polys it overlaps (crosswalks generated from the OpenDRIVE by the CarlaCrosswalkNav world-partition builder).

The box body only provides the modifier bounds: it collides with nothing and is itself navigation-irrelevant (no Pawn or Vehicle block response), so it never rasterizes geometry into the navmesh.

Definition at line 26 of file CarlaNavModifierBox.h.

Constructor & Destructor Documentation

◆ ACarlaNavModifierBox()

ACarlaNavModifierBox::ACarlaNavModifierBox ( const FObjectInitializer &  ObjectInitializer)

Definition at line 15 of file CarlaNavModifierBox.cpp.

References Box, and NavModifier.

Member Function Documentation

◆ Configure()

void ACarlaNavModifierBox::Configure ( TSubclassOf< UNavArea >  AreaClass,
const FVector &  BoxExtent 
)

Set the stamped area and the box half-extent (called by the builder before the actor package is saved).

Definition at line 38 of file CarlaNavModifierBox.cpp.

References Box, and NavModifier.

Member Data Documentation

◆ Box

TObjectPtr<UBoxComponent> ACarlaNavModifierBox::Box

Definition at line 39 of file CarlaNavModifierBox.h.

Referenced by ACarlaNavModifierBox(), and Configure().

◆ NavModifier

TObjectPtr<UNavModifierComponent> ACarlaNavModifierBox::NavModifier

Definition at line 42 of file CarlaNavModifierBox.h.

Referenced by ACarlaNavModifierBox(), and Configure().


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