CARLA
Loading...
Searching...
No Matches
InstancedStaticMeshActor.h
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
7#pragma once
8
9#include <util/ue-header-guard-begin.h>
10#include "CoreMinimal.h"
11#include <util/ue-header-guard-end.h>
12
13#include "InstancedStaticMeshActor.generated.h"
14
15
16class UHierarchicalInstancedStaticMeshComponent;
17
18UCLASS()
19class CARLA_API AInstancedStaticMeshActor : public AActor
20{
21 GENERATED_BODY()
22
23public:
24 AInstancedStaticMeshActor(const FObjectInitializer &ObjectInitializer);
25
26 UFUNCTION(BlueprintPure, Category="Getter")
27 UHierarchicalInstancedStaticMeshComponent* GetInstancedStaticMeshComponent(){
28 return InstancedStaticMeshComponent;
29 }
30
31protected:
32 UPROPERTY(VisibleAnywhere, Category="Components")
33 UHierarchicalInstancedStaticMeshComponent* InstancedStaticMeshComponent;
34};