CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderLightScene.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 <sstream>
10
#include <vector>
11
#include <type_traits>
12
13
#pragma pack(push, 1)
14
struct
CarlaRecorderLightScene
15
{
16
17
int
LightId
;
18
float
Intensity
;
19
FLinearColor
Color
;
20
bool
bOn
;
21
uint8
Type
;
22
23
void
Read
(std::istream &InFile);
24
25
void
Write
(std::ostream &OutFile);
26
};
27
#pragma pack(pop)
28
29
struct
CarlaRecorderLightScenes
30
{
31
public
:
32
33
void
Add
(
const
CarlaRecorderLightScene
&InObj);
34
35
void
Clear
(
void
);
36
37
void
Write
(std::ostream &OutFile);
38
39
void
Read
(std::istream &InFile);
40
41
const
std::vector<CarlaRecorderLightScene>&
GetLights
();
42
43
private
:
44
45
std::vector<CarlaRecorderLightScene>
Lights
;
46
};
CarlaRecorderLightScene
Definition
CarlaRecorderLightScene.h:15
CarlaRecorderLightScene::bOn
bool bOn
Definition
CarlaRecorderLightScene.h:20
CarlaRecorderLightScene::Intensity
float Intensity
Definition
CarlaRecorderLightScene.h:18
CarlaRecorderLightScene::LightId
int LightId
Definition
CarlaRecorderLightScene.h:17
CarlaRecorderLightScene::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderLightScene.cpp:12
CarlaRecorderLightScene::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderLightScene.cpp:20
CarlaRecorderLightScene::Type
uint8 Type
Definition
CarlaRecorderLightScene.h:21
CarlaRecorderLightScene::Color
FLinearColor Color
Definition
CarlaRecorderLightScene.h:19
CarlaRecorderLightScenes
Definition
CarlaRecorderLightScene.h:30
CarlaRecorderLightScenes::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderLightScene.cpp:67
CarlaRecorderLightScenes::Lights
std::vector< CarlaRecorderLightScene > Lights
Definition
CarlaRecorderLightScene.h:45
CarlaRecorderLightScenes::GetLights
const std::vector< CarlaRecorderLightScene > & GetLights()
Definition
CarlaRecorderLightScene.cpp:81
CarlaRecorderLightScenes::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderLightScene.cpp:41
CarlaRecorderLightScenes::Clear
void Clear(void)
Definition
CarlaRecorderLightScene.cpp:31
CarlaRecorderLightScenes::Add
void Add(const CarlaRecorderLightScene &InObj)
Definition
CarlaRecorderLightScene.cpp:36
Generated by
1.18.0