Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include | #include "EditorViewportClient.h" |
Syntax
struct FViewportCameraTransform
Remarks
Stores the transformation data for the viewport camera
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMatrix | Computes a matrix to use for viewport location and rotation when orbiting | ||
| const FVector & | GetLocation () |
||
| const FVector & | GetLookAt () |
||
| float | GetOrthoZoom () |
||
| const FRotator & | GetRotation () |
||
| bool | IsPlaying () |
Check if transition curve is playing. | |
| void | SetLocation
(
const FVector& Position |
Sets the transform's location | |
| void | SetLookAt
(
const FVector& InLookAt |
Sets the location to look at during orbit | |
| void | SetOrthoZoom
(
float InOrthoZoom |
Set the ortho zoom amount | |
| void | SetRotation
(
const FRotator& Rotation |
Sets the transform's rotation | |
| void | TransitionToLocation
(
const FVector& InDesiredLocation, |
Animates from the current location to the desired location | |
| bool | Updates any current location transitions |