ADEPRECATED_PlacedEditorUtilityBase::GetLevelViewportCameraInfo

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

Unreal Engine C++ API Reference > Editor > Blutility > ADEPRECATED_PlacedEditorUtilityBase

References

   
Module Blutility
Header /Engine/Source/Editor/Blutility/Classes/PlacedEditorUtilityBase.h
Include #include "PlacedEditorUtilityBase.h"
Source /Engine/Source/Editor/Blutility/Private/PlacedEditorUtilityBase.cpp
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 Whether or not we were able to get a camera for a level editing viewport

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library