Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
References
Module | InteractiveToolsFramework |
Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
Include | #include "ToolContextInterfaces.h" |
Syntax
struct FViewCameraState
Remarks
FViewCameraState is a bucket of state information that a Tool might need to implement interactions that depend on the current scene view.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
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. Only relevant if bIsOrthographic is false. |
![]() |
FQuat | Orientation | Current camera/head orientation |
![]() |
float | OrthoWorldCoordinateWidth | Current width of viewport in world space coordinates. Only valid if bIsOrthographic is true. |
![]() |
FVector | Position | Current camera/head position |