ULocalPlayer::CalcSceneViewInitOptions

Calculate the view init settings for drawing from this view actor

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h

Include

#include "Engine/LocalPlayer.h"

Source

/Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp

Syntax

bool CalcSceneViewInitOptions
(
    struct FSceneViewInitOptions & OutInitOptions,
    FViewport * Viewport,
    class FViewElementDrawer * ViewDrawer,
    EStereoscopicPass StereoPass
)

Remarks

Calculate the view init settings for drawing from this view actor

Returns

true if the view options were filled in. false in various fail conditions.

Parameters

Parameter

Description

OutInitOptions

output view struct. Not every field is initialized, some of them are only filled in by CalcSceneView

Viewport

current client viewport

ViewDrawer

optional drawing in the view

StereoPass

whether we are drawing the full viewport, or a stereo left / right pass

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss