Navigation
API > API/Runtime > API/Runtime/Engine
Handles operations on precomputed visibility data for a level.
| Name | FPrecomputedVisibilityHandler |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Level.h |
| Include Path | #include "Engine/Level.h" |
Syntax
class FPrecomputedVisibilityHandler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPrecomputedVisibilityHandler() |
Engine/Level.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPrecomputedVisibilityHandler() |
Engine/Level.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NextId | int32 | Engine/Level.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Id | int32 | Id used by the renderer to know when cached visibility data is valid. | Engine/Level.h | |
| PrecomputedVisibilityCellBucketOriginXY | FVector2D | World space origin of the cell grid. | Engine/Level.h | |
| PrecomputedVisibilityCellBuckets | TArray< FPrecomputedVisibilityBucket > | Visibility bucket data. | Engine/Level.h | |
| PrecomputedVisibilityCellBucketSizeXY | int32 | Number of cells in each bucket in x and y. | Engine/Level.h | |
| PrecomputedVisibilityCellSizeXY | float | World space size of every cell in x and y. | Engine/Level.h | |
| PrecomputedVisibilityCellSizeZ | float | World space height of every cell. | Engine/Level.h | |
| PrecomputedVisibilityNumCellBuckets | int32 | Number of buckets in x and y. | Engine/Level.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyWorldOffset
(
const FVector& InOffset |
Shifts origin of precomputed visibility volume by specified offset | Engine/Level.h | |
int32 GetId() |
Engine/Level.h | ||
void Invalidate
(
FSceneInterface* Scene |
Invalidates the level's precomputed visibility and frees any memory used by the handler. | Engine/Level.h | |
void UpdateScene
(
FSceneInterface* Scene |
Sets this visibility handler to be actively used by the rendering scene. | Engine/Level.h | |
void UpdateVisibilityStats
(
bool bAllocating |
Updates visibility stats. | Engine/Level.h |