CARLA
 
载入中...
搜索中...
未找到
UncenteredPivotPointMesh.cpp
浏览该文件的文档.
1
2// Copyright (c) 2017 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}
AUncenteredPivotPointMesh(const FObjectInitializer &ObjectInitializer)