Navigation
API > API/Runtime > API/Runtime/Engine
Incident lighting for a single sample, as produced by a lighting build. FGatheredLightSample is used for gathering lighting instead of this format as FLightSample is not additive.
| Name | FLightSample |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/LightMap.h |
| Include Path | #include "LightMap.h" |
Syntax
struct FLightSample
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLightSample() |
Initialization constructor. | LightMap.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsMapped | bool | True if this sample maps to a valid point on a triangle. | LightMap.h | |
| Coefficients | float | Coefficients[0] stores the normalized average color, Coefficients[1] stores the maximum color component in each lightmap basis direction, and Coefficients[2] stores the simple lightmap which is colored incident lighting along the vertex normal. | LightMap.h |