FTemporalLODState

Struct to hold the temporal LOD state within a view state

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

struct FTemporalLODState

Remarks

Struct to hold the temporal LOD state within a view state

Variables

Name Description

Public variable

float[2]

 

TemporalDistanceFactor

The last two fov-like parameters from the projection matrix for stateless temporal LOD transitions

Public variable

float

 

TemporalLODLag

If non-zero, then we are doing temporal LOD smoothing, this is the time interval.

Public variable

float[2]

 

TemporalLODTime

The last two time samples collected for stateless temporal LOD transitions

Public variable

FVector[2]

 

TemporalLODViewOrigin

The last two camera origin samples collected for stateless temporal LOD transitions

Constructors

Name Description

Public function

FTemporalLODState()

Functions

Name Description

Public function Const

float

 

GetTemporalLODTransition

(
    float LastRenderTime
)

Returns the blend factor between the last two LOD samples

Public function

void

 

UpdateTemporalLODTransition

(
    const FViewInfo& View,
    float LastRenderTime
)

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