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
)

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