ULocalPlayer::GetViewPoint

Retrieve the viewpoint of this player.

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 void GetViewPoint
(
    FMinimalViewInfo & OutViewInfo,
    EStereoscopicPass StereoPass
) const

Remarks

Retrieve the viewpoint of this player.

Parameters

Parameter

Description

OutViewInfo

Upon return contains the view information for the player.

StereoPass

Which stereoscopic pass, if any, to get the viewport for. This will include eye offsetting

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