FPrecomputedLightVolume

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 FPrecomputedLightVolume

Remarks

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

Variables

Name Description

Public variable

const FPrecompu...

 

Data

Constructors

Name Description

Public function

FPrecomputedLightVolume()

Destructors

Name Description

Public function

~FPrecomputedLightVolume()

Functions

Name Description

Public function

void

 

AddToScene

(
    FSceneInterface* Scene,
    UMapBuildDataRegistry* Registr...,
    FGuid LevelBuildDataId
)

Public function

void

 

ApplyWorldOffset

(
    const FVector& InOffset
)

Public function Const

void

 

DebugDrawSamples

(
    FPrimitiveDrawInterface* PDI,
    bool bDrawDirectionalShadowing
)

Public function Const

SIZE_T

 

GetAllocatedBytes()

Public function Const

float

 

GetNodeLevelExtent

(
    int32 Level
)

Public function Const

void

 

InterpolateIncidentRadianceBlock

(
    const FBoxCenterAndExtent& Boundin...,
    const FIntVector& QueryCellDimensi...,
    const FIntVector& DestCellDimensio...,
    const FIntVector& DestCellPosition,
    TArray< float >& AccumulatedWeight...,
    TArray< FSHVectorRGB2 >& Accumulat...
)

Interpolates incident radiance to Position.

Public function Const

void

 

InterpolateIncidentRadiancePoint

(
    const FVector& Position,
    float& AccumulatedWeight,
    float& AccumulatedDirectionalLight...,
    FSHVectorRGB3& AccumulatedIncident...,
    FVector& SkyBentNormal
)

Interpolates incident radiance to Position.

Public function Const

bool

 

IntersectBounds

(
    const FBoxSphereBounds& InBounds
)

Public function Const

bool

 

IsAddedToScene()

Public function Const

bool

 

IsUsingHighQualityLightMap()

Temporary, for ES2 preview verification.

Public function

void

 

RemoveFromScene

(
    FSceneInterface* Scene
)

Public function

void

 

SetData

(
    const FPrecomputedLightVolumeData&...,
    FSceneInterface* Scene
)

Select Skin
Light
Dark

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