ADEPRECATED_PlacedEditorUtilityBase::GetLevelViewportCameraInfo

Gets information about the camera position for the primary level editor viewport.

Windows
MacOS
Linux

References

Module

Blutility

Header

/Engine/Source/Editor/Blutility/Classes/PlacedEditorUtilityBase.h

Include

#include "PlacedEditorUtilityBase.h"

Source

/Engine/Source/Editor/Blutility/Private/PlacedEditorUtilityBase.cpp

Syntax

bool GetLevelViewportCameraInfo
(
    FVector & CameraLocation,
    FRotator & CameraRotation
)

Remarks

Gets information about the camera position for the primary level editor viewport. In non-editor builds, these will be zeroed

Returns

Whether or not we were able to get a camera for a level editing viewport

Parameters

Parameter

Description

CameraLocation

(out) Current location of the level editing viewport camera, or zero if none found

CameraRotation

(out) Current rotation of the level editing viewport camera, or zero if none found

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