CARLA
UncenteredPivotPointMesh.h
Go to the documentation of this file.
1 // Copyright (c) 2017 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 "CoreMinimal.h"
8 #include "GameFramework/Actor.h"
9 
10 #include "UncenteredPivotPointMesh.generated.h"
11 
12 
13 UCLASS()
14 class CARLA_API AUncenteredPivotPointMesh : public AActor
15 {
16  GENERATED_BODY()
17 
18 public:
19  AUncenteredPivotPointMesh(const FObjectInitializer& ObjectInitializer);
20 
21  UStaticMeshComponent* GetMeshComp()
22  {
23  return SMComp;
24  }
25 
26 private:
27  UPROPERTY(EditAnywhere, Category="Uncenceterd PP Mesh")
28  UStaticMeshComponent* SMComp = nullptr;
29 
30 };
UStaticMeshComponent * GetMeshComp()