Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Subsystems > API/Editor/UnrealEd/Subsystems/UUnrealEditorSubsystem
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Subsystems/UnrealEditorSubsystem.h |
| Include | #include "Subsystems/UnrealEditorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/UnrealEditorSubsystem.cpp |
bool GetLevelViewportCameraInfo
&40;
FVector & CameraLocation,
FRotator & CameraRotation
&41;
Remarks
Gets information about the camera position for the primary level editor viewport. In non-editor builds, these will be zeroed In the UnrealEd module instead of Level Editor as it uses FLevelEditorViewportClient which is in this module 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 |