USceneCaptureComponent::GetViewState

Returns the view state, if any, and allocates one if needed.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SceneCaptureComponent.h

Include

#include "Components/SceneCaptureComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SceneCaptureComponent.cpp

Syntax

FSceneViewStateInterface * GetViewState
(
    int32 ViewIndex
)

Remarks

Returns the view state, if any, and allocates one if needed. This function can return NULL, e.g. when bCaptureEveryFrame is false.