Navigation
API > API/Runtime > API/Runtime/Engine
Volume distance field generated by Lightmass, used by image based reflections for shadowing.
| Name | FPrecomputedVolumeDistanceField |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Level.h |
| Include Path | #include "Engine/Level.h" |
Syntax
class FPrecomputedVolumeDistanceField
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TArray< FColor > | Distance field data. | Engine/Level.h | |
| VolumeBox | FBox | World space bounding box of the volume. | Engine/Level.h | |
| VolumeMaxDistance | float | Largest world space distance stored in the volume. | Engine/Level.h | |
| VolumeSizeX | int32 | Volume dimension X. | Engine/Level.h | |
| VolumeSizeY | int32 | Volume dimension Y. | Engine/Level.h | |
| VolumeSizeZ | int32 | Volume dimension Z. | Engine/Level.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Invalidate
(
FSceneInterface* Scene |
Invalidates the level's volume distance field and frees any memory used by it. | Engine/Level.h | |
void UpdateScene
(
FSceneInterface* Scene |
Sets this volume distance field to be actively used by the rendering scene. | Engine/Level.h |