ULocalPlayer::CalcSceneView

Calculate the view 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 FSceneView * CalcSceneView
(
    class FSceneViewFamily * ViewFamily,
    FVector & OutViewLocation,
    FRotator & OutViewRotation,
    FViewport * Viewport,
    class FViewElementDrawer * ViewDrawer,
    int32 StereoViewIndex
)

Remarks

Calculate the view settings for drawing from this view actor

Parameters

Parameter

Description

View

output view struct

OutViewLocation

output actor location

OutViewRotation

output actor rotation

Viewport

current client viewport

ViewDrawer

optional drawing in the view

StereoViewIndex

index of the view when using stereoscopy