Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
FViewCameraState is a bucket of state information that a Tool might need to implement interactions that depend on the current scene view.
| Name | FViewCameraState |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
| Include Path | #include "ToolContextInterfaces.h" |
Syntax
struct FViewCameraState
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AspectRatio | float | Current Aspect Ratio | ToolContextInterfaces.h | |
| bIsOrthographic | bool | Is current view an orthographic view | ToolContextInterfaces.h | |
| bIsVR | bool | Is current view a VR view | ToolContextInterfaces.h | |
| DPIScale | double | DPI scale | ToolContextInterfaces.h | |
| HorizontalFOVDegrees | float | Current Horizontal Field of View Angle in Degrees. Only relevant if bIsOrthographic is false. | ToolContextInterfaces.h | |
| Orientation | FQuat | Current camera/head orientation | ToolContextInterfaces.h | |
| OrthoWorldCoordinateWidth | float | Current width of viewport in world space coordinates. Only valid if bIsOrthographic is true. | ToolContextInterfaces.h | |
| Position | FVector | Current camera/head position | ToolContextInterfaces.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector Forward() |
ToolContextInterfaces.h | ||
float GetFOVAngleNormalizationFactor() |
ToolContextInterfaces.h | ||
float GetPDIScalingFactor() |
ToolContextInterfaces.h | ||
FVector Right() |
ToolContextInterfaces.h | ||
FVector Up() |
ToolContextInterfaces.h |