CARLA
 
载入中...
搜索中...
未找到
UncenteredPivotPointMesh.h
浏览该文件的文档.
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
13UCLASS()
14class CARLA_API AUncenteredPivotPointMesh : public AActor
15{
16 GENERATED_BODY()
17
18public:
19 AUncenteredPivotPointMesh(const FObjectInitializer& ObjectInitializer);
20
21 UStaticMeshComponent* GetMeshComp()
22 {
23 return SMComp;
24 }
25
26private:
27 UPROPERTY(EditAnywhere, Category="Uncenceterd PP Mesh")
28 UStaticMeshComponent* SMComp = nullptr;
29
30};
UStaticMeshComponent * GetMeshComp()