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>
|
|
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.
该结构体的文档由以下文件生成: