CARLA
Loading...
Searching...
No Matches
UncenteredPivotPointMesh.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB).
2// This work is licensed under the terms of the MIT license.
3// For a copy, see <https://opensource.org/licenses/MIT>.
4
5#pragma once
6
7#include <util/ue-header-guard-begin.h>
8#include "CoreMinimal.h"
9#include "GameFramework/Actor.h"
10#include <util/ue-header-guard-end.h>
11
12#include "UncenteredPivotPointMesh.generated.h"
13
14
15UCLASS()
16class CARLA_API AUncenteredPivotPointMesh : public AActor
17{
18 GENERATED_BODY()
19
20public:
21 AUncenteredPivotPointMesh(const FObjectInitializer& ObjectInitializer);
22
23 UStaticMeshComponent* GetMeshComp()
24 {
25 return SMComp;
26 }
27
28private:
29 UPROPERTY(EditAnywhere, Category="Uncenceterd PP Mesh")
30 TObjectPtr<UStaticMeshComponent> SMComp = nullptr;
31
32};
UStaticMeshComponent * GetMeshComp()