FSceneViewStateInterface

The scene manager's persistent view state.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "SceneManagement.h"

Syntax

class FSceneViewStateInterface

Remarks

The scene manager's persistent view state.

Constructors

Name Description

Public function

FSceneViewStateInterface()

Destructors

Name Description

Protected function Virtual

~FSceneViewStateInterface()

Don't allow direct deletion of the view state, Destroy should be called instead.

Functions

Name Description

Public function

void

 

ActivateFrozenViewMatrices

(
    FSceneView& SceneView
)

If frozen view matrices are available, set those as active on the SceneView

Public function

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Public function

void

 

Destroy()

Called in the game thread to destroy the view state.

Public function

FSceneViewSt...

 

GetConcreteViewState()

Public function Const

uint32

 

GetCurrentTemporalAASampleIndex()

Public function Const

uint32

 

GetOcclusionFrameCounter()

Returns the occlusion frame counter

Public function Const

float

 

GetPreExposure()

Returns the current PreExposure value.

Public function

UMaterialIns...

 

GetReusableMID

(
    UMaterialInterface* InSource
)

Allows MIDs being created and released during view rendering without the overhead of creating and releasing objects As MID are not allowed to be parent of MID this gets fixed up by parenting it to the next Material or MIC

Public function

ESequencerSt...

 

GetSequencerState()

Public function Virtual Const

SIZE_T

 

GetSizeBytes()

Public function Const

const FTempo...

 

GetTemporalLODState()

Public function

FTemporalLOD...

 

GetTemporalLODState()

Returns the temporal LOD struct from the viewstate

Public function Const

float

 

GetTemporalLODTransition()

Returns the blend factor between the last two LOD samples

Public function Const

uint32

 

GetViewKey()

Returns a unique key for the view state, non-zero

Public function

FSceneViewSt...

 

GetViewParent()

Public function Const

const FScene...

 

GetViewParent()

Public function Const

bool

 

HasViewParent()

Public function Const

bool

 

IsViewParent()

Public function

void

 

OnStartPostProcessing

(
    FSceneView& CurrentView
)

Resets pool for GetReusableMID()

Public function

void

 

ResetViewState()

Rest some state (e.g. FrameIndexMod8, TemporalAASampleIndex) to make the rendering [more] deterministic

Public function

void

 

RestoreUnfrozenViewMatrices

(
    FSceneView& SceneView
)

If frozen view matrices were set, restore the previous view matrices

Public function

void

 

SetSequencerState

(
    ESequencerState InSequencerState
)

Public function

void

 

SetViewParent

(
    FSceneViewStateInterface* InVi...
)

Sets the view state's scene parent.

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