![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PrecomputedLightVolume.h>
Public Member Functions | |
| ENGINE_API | FPrecomputedLightVolumeData () |
| ~FPrecomputedLightVolumeData () | |
| ENGINE_API void | Initialize (const FBox &NewBounds) |
| ENGINE_API void | AddHighQualityLightingSample (const FVolumeLightingSample &NewHighQualitySample) |
| ENGINE_API void | AddLowQualityLightingSample (const FVolumeLightingSample &NewLowQualitySample) |
| ENGINE_API void | FinalizeSamples () |
| ENGINE_API void | InvalidateLightingCache () |
| SIZE_T | GetAllocatedBytes () const |
| bool | IsInitialized () const |
| FBox & | GetBounds () |
Friends | |
| class | FPrecomputedLightVolume |
| FArchive & | operator<< (FArchive &Ar, FPrecomputedLightVolumeData &Volume) |
| FArchive & | operator<< (FArchive &Ar, FPrecomputedLightVolumeData *&Volume) |
Set of volume lighting samples belonging to one streaming level, which can be queried about the lighting at a given position.
| FPrecomputedLightVolumeData::FPrecomputedLightVolumeData | ( | ) |
| FPrecomputedLightVolumeData::~FPrecomputedLightVolumeData | ( | ) |
| void FPrecomputedLightVolumeData::AddHighQualityLightingSample | ( | const FVolumeLightingSample & | NewHighQualitySample | ) |
Adds a high quality lighting sample.
Adds a lighting sample.
| void FPrecomputedLightVolumeData::AddLowQualityLightingSample | ( | const FVolumeLightingSample & | NewLowQualitySample | ) |
Adds a low quality lighting sample.
| void FPrecomputedLightVolumeData::FinalizeSamples | ( | ) |
Shrinks the octree and updates memory stats.
| SIZE_T FPrecomputedLightVolumeData::GetAllocatedBytes | ( | ) | const |
|
inline |
Frees any previous samples, prepares the volume to have new samples added.
| void FPrecomputedLightVolumeData::InvalidateLightingCache | ( | ) |
Invalidates anything produced by the last lighting build.
|
inline |
|
friend |
|
friend |
|
friend |