Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UUnrealEditorSubsystem
Description
Sets information about the camera position for the primary level editor viewport. In the UnrealEd module instead of Level Editor as it uses FLevelEditorViewportClient which is in this module
| Name | SetLevelViewportCameraInfo |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/UnrealEditorSubsystem.h |
| Include Path | #include "Subsystems/UnrealEditorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/UnrealEditorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Development|Editor")
void SetLevelViewportCameraInfo
(
FVector CameraLocation,
FRotator CameraRotation
)
Parameters
| Name | Remarks |
|---|---|
| CameraLocation | Location the camera will be moved to. |
| CameraRotation | Rotation the camera will be set to. |