CARLA
Loading...
Searching...
No Matches
InstancedStaticMeshActor.cpp
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
8
9#include <util/ue-header-guard-begin.h>
10#include "Components/HierarchicalInstancedStaticMeshComponent.h"
11#include <util/ue-header-guard-end.h>
12
13AInstancedStaticMeshActor::AInstancedStaticMeshActor(const FObjectInitializer& ObjectInitializer)
14 : Super(ObjectInitializer)
15{
16 PrimaryActorTick.bCanEverTick = false;
17 InstancedStaticMeshComponent = CreateDefaultSubobject<UHierarchicalInstancedStaticMeshComponent>("InstancedStaticMeshComponent");
18 RootComponent = InstancedStaticMeshComponent;
19}
UHierarchicalInstancedStaticMeshComponent * InstancedStaticMeshComponent
AInstancedStaticMeshActor(const FObjectInitializer &ObjectInitializer)