|
CARLA
|
#include "Tagger.h"#include "Carla.h"#include "Vehicle/CarlaWheeledVehicle.h"#include <util/ue-header-guard-begin.h>#include "Components/SkeletalMeshComponent.h"#include "Components/StaticMeshComponent.h"#include "Engine/SkeletalMesh.h"#include "Engine/StaticMesh.h"#include "EngineUtils.h"#include "PhysicsEngine/PhysicsAsset.h"#include <util/ue-header-guard-end.h>Go to the source code of this file.
Macros | |
| #define | CARLA_GET_LABEL_STR(lbl) case crp::CityObjectLabel:: lbl : return TEXT(#lbl); |
Functions | |
| static void | ATagger_SetLabelTag (UPrimitiveComponent &Component, crp::CityObjectLabel Label) |
| Sets the label tag of a component. | |
| template<typename T > | |
| static auto | CastEnum (T label) |
| #define CARLA_GET_LABEL_STR | ( | lbl | ) | case crp::CityObjectLabel:: lbl : return TEXT(#lbl); |
|
static |
Sets the label tag of a component.
Actors are tagged more than once (the OnActorSpawned delegate runs before a factory assigns the mesh, streamed levels are re-tagged by TagActorsInLevel) and GetTagOfTaggedComponent reads ComponentTags[0], so a previous label tag is replaced instead of appended.
Definition at line 121 of file Tagger.cpp.
References ATagger::GetTagAsString(), and ATagger::GetTagFromString().
Referenced by ATagger::TagActor().
|
static |
Definition at line 23 of file Tagger.cpp.
Referenced by ATagger::GetActorLabelColor(), and ATagger::SetStencilValue().