engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FUMGViewportCameraTransform结构体 参考

Stores the transformation data for the viewport camera 更多...

#include <Viewport.h>

Public 成员函数

FMatrix ComputeOrbitMatrix () const
 Computes a matrix to use for viewport location and rotation when orbiting
 
FORCEINLINE const FVector & GetLocation () const
 
FORCEINLINE const FVector & GetLookAt () const
 
FORCEINLINE float GetOrthoZoom () const
 
FORCEINLINE const FRotator & GetRotation () const
 
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, bool bInstant)
 Animates from the current location to the desired location 更多...
 
bool UpdateTransition ()
 Updates any current location transitions 更多...
 

详细描述

Stores the transformation data for the viewport camera

成员函数说明

◆ GetLocation()

FORCEINLINE const FVector & FUMGViewportCameraTransform::GetLocation ( ) const
inline
返回
The transform's location

◆ GetLookAt()

FORCEINLINE const FVector & FUMGViewportCameraTransform::GetLookAt ( ) const
inline
返回
The look at point for orbiting

◆ GetOrthoZoom()

FORCEINLINE float FUMGViewportCameraTransform::GetOrthoZoom ( ) const
inline
返回
The ortho zoom amount

◆ GetRotation()

FORCEINLINE const FRotator & FUMGViewportCameraTransform::GetRotation ( ) const
inline
返回
The transform's rotation

◆ TransitionToLocation()

void FUMGViewportCameraTransform::TransitionToLocation ( const FVector &  InDesiredLocation,
bool  bInstant 
)

Animates from the current location to the desired location

参数
InDesiredLocationThe location to transition to
bInstantIf the desired location should be set instantly rather than transitioned to over time

◆ UpdateTransition()

bool FUMGViewportCameraTransform::UpdateTransition ( )

Updates any current location transitions

返回
true if there is currently a transition

该结构体的文档由以下文件生成: