Navigation
API > API/Runtime > API/Runtime/Engine
Set of volume lighting samples belonging to one streaming level, which can be queried about the lighting at a given position.
| Name | FPrecomputedLightVolumeData |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/PrecomputedLightVolume.h |
| Include Path | #include "PrecomputedLightVolume.h" |
Syntax
class FPrecomputedLightVolumeData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPrecomputedLightVolumeData() |
PrecomputedLightVolume.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPrecomputedLightVolumeData() |
PrecomputedLightVolume.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | bool | PrecomputedLightVolume.h | ||
| Bounds | FBox | PrecomputedLightVolume.h | ||
| HighQualityLightmapOctree | FLightVolumeOctree | Octree containing lighting samples to be used with high quality lightmaps. | PrecomputedLightVolume.h | |
| LowQualityLightmapOctree | FLightVolumeOctree | Octree containing lighting samples to be used with low quality lightmaps. | PrecomputedLightVolume.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddHighQualityLightingSample
(
const FVolumeLightingSample& NewHighQualitySample |
Adds a high quality lighting sample.Adds a lighting sample. | PrecomputedLightVolume.h | |
void AddLowQualityLightingSample
(
const FVolumeLightingSample& NewLowQualitySample |
Adds a low quality lighting sample. | PrecomputedLightVolume.h | |
void FinalizeSamples() |
Shrinks the octree and updates memory stats. | PrecomputedLightVolume.h | |
SIZE_T GetAllocatedBytes() |
PrecomputedLightVolume.h | ||
FBox & GetBounds() |
PrecomputedLightVolume.h | ||
void Initialize
(
const FBox& NewBounds |
Frees any previous samples, prepares the volume to have new samples added. | PrecomputedLightVolume.h | |
void InvalidateLightingCache() |
Invalidates anything produced by the last lighting build. | PrecomputedLightVolume.h | |
bool IsInitialized() |
PrecomputedLightVolume.h |