Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/LightMap.h |
| Include | #include "LightMap.h" |
Syntax
struct FLightSample
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsMapped | True if this sample maps to a valid point on a triangle. | |
| float[NUM_STORED_LIGHTMAP_COEF][3] | Coefficients | 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. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLightSample () |
Initialization constructor. |