RapyutaSimulationPlugins
RRTextureData.h
Go to the documentation of this file.
1 // Copyright 2020-2022 Rapyuta Robotics Co., Ltd.
2 
3 
4 
5 #pragma once
6 
7 
8 
9 #include "CoreMinimal.h"
10 
11 
12 
13 #include "RRTextureData.generated.h"
14 
15 
16 
17 
22 struct RAPYUTASIMULATIONPLUGINS_API FRRTextureData
23 
24 {
25 
26 
27 
28 public:
29 
30 
35  TArray<UTexture*> ImageTextureList;
36 
37 
38 
39 
44  TArray<FString> TextureNames;
45 
46 
47 
48  UTexture* GetRandomTexture() const;
49 
50 };
51 
52 
53 
62 struct RAPYUTASIMULATIONPLUGINS_API FRRLightProfileData
63 
64 {
65 
66 public:
67 
68  EPixelFormat PixelFormat = EPixelFormat::PF_Unknown;
69 
70  int32 Width = 0;
71 
72  int32 Height = 0;
73 
74  uint32 Pitch = 0;
75 
76  int16 BytesPerPixel = 0;
77 
78  FUpdateTextureRegion2D Region = {0, 0, 0, 0, 0, 0};
79 
80  uint8* ImageData = nullptr;
81 
82  // For IES profile
83 
84  float Brightness = -FLT_MAX;
85 
86  float TextureMultiplier = -FLT_MAX;
87 
88 };
89 
FRRLightProfileData
Definition: RRTextureData.h:62
FRRTextureData::ImageTextureList
TArray< UTexture * > ImageTextureList
Definition: RRTextureData.h:35
FRRTextureData::TextureNames
TArray< FString > TextureNames
Definition: RRTextureData.h:44
FRRTextureData
Definition: RRTextureData.h:22