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

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()

References

Module

Engine

Header

Runtime/Engine/Public/PrecomputedLightVolume.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback