Navigation
API > API/Runtime > API/Runtime/Engine
The raw data which is used to construct a 2D light-map.
| Name | FLightMapData2D |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LightMap.h |
| Include Path | #include "LightMap.h" |
Syntax
class FLightMapData2D
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLightMapData2D
(
uint32 InSizeX, |
Minimal initialization constructor. | LightMap.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LightGuids | TArray< FGuid > | The GUIDs of lights which this light-map stores. | LightMap.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TChunkedArray< FLightSample > | The incident light samples for a 2D array of points on the surface. | LightMap.h | |
| SizeX | uint32 | The width of the light-map. | LightMap.h | |
| SizeY | uint32 | The height of the light-map. | LightMap.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetSizeX() |
LightMap.h | ||
uint32 GetSizeY() |
LightMap.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FLightSample & operator()
(
uint32 X, |
Accessors. | LightMap.h | |
FLightSample & operator()
(
uint32 X, |
LightMap.h |