Navigation
API > API/Editor > API/Editor/Blutility > API/Editor/Blutility/ADEPRECATED_PlacedEditorUtilityB-
Description
Gets information about the camera position for the primary level editor viewport. In non-editor builds, these will be zeroed
| Name | GetLevelViewportCameraInfo |
| Type | function |
| Header File | /Engine/Source/Editor/Blutility/Classes/PlacedEditorUtilityBase.h |
| Include Path | #include "PlacedEditorUtilityBase.h" |
| Source | /Engine/Source/Editor/Blutility/Private/PlacedEditorUtilityBase.cpp |
UFUNCTION (BlueprintPure, Category="Development|Editor")
bool GetLevelViewportCameraInfo
(
FVector & CameraLocation,
FRotator & CameraRotation
)
Whether or not we were able to get a camera for a level editing viewport
Parameters
| Name | Remarks |
|---|---|
| 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 |