FPrecomputedLightVolumeData

Set of volume lighting samples belonging to one streaming level, which can be queried about the lighting at a given position.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/PrecomputedLightVolume.h

Include

#include "PrecomputedLightVolume.h"

Syntax

class FPrecomputedLightVolumeData

Remarks

Set of volume lighting samples belonging to one streaming level, which can be queried about the lighting at a given position.

Constructors

Destructors

Functions

Name Description

Public function

void

 

AddHighQualityLightingSample

(
    const FVolumeLightingSample& NewHi...
)

Adds a high quality lighting sample.

Adds a lighting sample.

Public function

void

 

AddLowQualityLightingSample

(
    const FVolumeLightingSample& NewLo...
)

Adds a low quality lighting sample.

Public function

void

 

FinalizeSamples()

Shrinks the octree and updates memory stats.

Public function Const

SIZE_T

 

GetAllocatedBytes()

Public function

FBox &

 

GetBounds()

Public function

void

 

Initialize

(
    const FBox& NewBounds
)

Frees any previous samples, prepares the volume to have new samples added.

Public function

void

 

InvalidateLightingCache()

Invalidates anything produced by the last lighting build.

Public function Const

bool

 

IsInitialized()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss