ULocalPlayer::CalcSceneViewInitOptions

Calculate the view init settings for drawing from this view actor

Choose your operating system:

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

virtual bool CalcSceneViewInitOptions
(
    struct FSceneViewInitOptions & OutInitOptions,
    FViewport * Viewport,
    class FViewElementDrawer * ViewDrawer,
    int32 StereoViewIndex
)

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

StereoViewIndex

index of the view when using stereoscopy