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

FViewCameraState is a bucket of state information that a Tool might need to implement interactions that depend on the current scene view. 更多...

#include <ToolContextInterfaces.h>

Public 成员函数

FVector Forward () const
 
float GetFOVAngleNormalizationFactor () const
 
float GetPDIScalingFactor () const
 
FVector Right () const
 
FVector Up () const
 

Public 属性

float AspectRatio
 Current Aspect Ratio
 
bool bIsOrthographic
 Is current view an orthographic view
 
bool bIsVR
 Is current view a VR view
 
float HorizontalFOVDegrees
 Current Horizontal Field of View Angle in Degrees. 更多...
 
FQuat Orientation
 Current camera/head orientation
 
float OrthoWorldCoordinateWidth
 Current width of viewport in world space coordinates. 更多...
 
FVector Position
 Current camera/head position
 

详细描述

FViewCameraState is a bucket of state information that a Tool might need to implement interactions that depend on the current scene view.

成员函数说明

◆ Forward()

FVector FViewCameraState::Forward ( ) const
inline
返回
forward camera direction

◆ GetFOVAngleNormalizationFactor()

float FViewCameraState::GetFOVAngleNormalizationFactor ( ) const
inline
返回
FOV normalization factor that should be applied when comparing angles

◆ GetPDIScalingFactor()

float FViewCameraState::GetPDIScalingFactor ( ) const
inline
返回
scaling factor that should be applied to PDI thickness/size

◆ Right()

FVector FViewCameraState::Right ( ) const
inline
返回
"right"/horizontal direction in camera plane

◆ Up()

FVector FViewCameraState::Up ( ) const
inline
返回
"up"/vertical direction in camera plane

类成员变量说明

◆ HorizontalFOVDegrees

float FViewCameraState::HorizontalFOVDegrees

Current Horizontal Field of View Angle in Degrees.

Only relevant if bIsOrthographic is false.

◆ OrthoWorldCoordinateWidth

float FViewCameraState::OrthoWorldCoordinateWidth

Current width of viewport in world space coordinates.

Only valid if bIsOrthographic is true.


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