CARLA
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Util
EmptyActor.cpp
Go to the documentation of this file.
1
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#include "
EmptyActor.h
"
8
9
AEmptyActor::AEmptyActor
(
const
FObjectInitializer &ObjectInitializer)
10
: Super(ObjectInitializer)
11
{
12
PrimaryActorTick.bCanEverTick =
false
;
13
RootSceneComponent
= CreateDefaultSubobject<USceneComponent>(TEXT(
"SceneRootComponent"
));
14
RootComponent =
RootSceneComponent
;
15
RootComponent->SetMobility(EComponentMobility::Movable);
16
}
EmptyActor.h
AEmptyActor::AEmptyActor
AEmptyActor(const FObjectInitializer &ObjectInitializer)
Definition
EmptyActor.cpp:9
AEmptyActor::RootSceneComponent
TObjectPtr< USceneComponent > RootSceneComponent
Definition
EmptyActor.h:22
Generated by
1.9.8