FUMGViewportCameraTransform

Stores the transformation data for the viewport camera

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/Viewport.h

Include

#include "Components/Viewport.h"

Syntax

struct FUMGViewportCameraTransform

Remarks

Stores the transformation data for the viewport camera

Constructors

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

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,
    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