CARLA
Loading...
Searching...
No Matches
UncenteredPivotPointMesh.cpp
Go to the documentation of this file.
1
2// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB).
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6
8
9AUncenteredPivotPointMesh::AUncenteredPivotPointMesh(const FObjectInitializer& ObjectInitializer)
10 : Super(ObjectInitializer)
11{
12 PrimaryActorTick.bCanEverTick = false;
13
14 RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("SceneRoot"));
15 SMComp = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("StaticMeshComp"));
16 SMComp->SetupAttachment(RootComponent);
17}
TObjectPtr< UStaticMeshComponent > SMComp
AUncenteredPivotPointMesh(const FObjectInitializer &ObjectInitializer)