Agrarsense
SensorPreset.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
9#include "GameFramework/Actor.h"
10#include "Templates/SubclassOf.h"
11
12#include "SensorPreset.generated.h"
13
17USTRUCT(Blueprintable)
18struct AGRARSENSE_API FSensorPreset
19{
20 GENERATED_BODY()
21
22
25 UPROPERTY(EditAnywhere, BlueprintReadWrite)
26 FString SensorIdentifier;
27
31 UPROPERTY(EditAnywhere, BlueprintReadWrite)
32 FString SensorName;
33
37 UPROPERTY(EditAnywhere, BlueprintReadWrite)
38 ESensorTypes SensorType = ESensorTypes::NONE;
39
43 UPROPERTY(EditAnywhere, BlueprintReadWrite)
44 FVector Location;
45
49 UPROPERTY(EditAnywhere, BlueprintReadWrite)
50 FRotator Rotation;
51
52 UPROPERTY(EditAnywhere, BlueprintReadWrite)
53 FString AttachedToComponent;
54
55 UPROPERTY(EditAnywhere, BlueprintReadWrite)
56 FName AttachedToBone;
57
61 //UPROPERTY(EditAnywhere, BlueprintReadWrite)
62 //TSubclassOf<AActor> ModelClass;
63
64
66 {
67 SensorType = ESensorTypes::NONE;
68 Location = FVector::ZeroVector;
69 Rotation = FRotator::ZeroRotator;
70 }
71};
ESensorTypes
Definition: SensorTypes.h:15