FViewportCameraTransform

Stores the transformation data for the viewport camera

Windows
MacOS
Linux

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

Name Description

Public function

FViewportCameraTransform()

Functions

Name Description

Public function Const

FMatrix

 

ComputeOrbitMatrix()

Computes a matrix to use for viewport location and rotation when orbiting

Public function Const

const FVecto...

 

GetLocation()

Public function Const

const FVecto...

 

GetLookAt()

Public function Const

float

 

GetOrthoZoom()

Public function Const

const FRotat...

 

GetRotation()

Public function

bool

 

IsPlaying()

Check if transition curve is playing.

Public function

void

 

SetLocation

(
    const FVector& Position
)

Sets the transform's location

Public function

void

 

SetLookAt

(
    const FVector& InLookAt
)

Sets the location to look at during orbit

Public function

void

 

SetOrthoZoom

(
    float InOrthoZoom
)

Set the ortho zoom amount

Public function

void

 

SetRotation

(
    const FRotator& Rotation
)

Sets the transform's rotation

Public function

void

 

TransitionToLocation

(
    const FVector& InDesiredLocation,
    TWeakPtr< SWidget > EditorViewportW...,
    bool bInstant
)

Animates from the current location to the desired location

Public function

bool

 

UpdateTransition()

Updates any current location transitions

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss