FViewCameraState

[FViewCameraState](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.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/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

Name Description

Public variable

float

 

AspectRatio

Current Aspect Ratio

Public variable

bool

 

bIsOrthographic

Is current view an orthographic view

Public variable

bool

 

bIsVR

Is current view a VR view

Public variable

float

 

HorizontalFOVDegrees

Current Horizontal Field of View Angle in Degrees. Only relevant if bIsOrthographic is false.

Public variable

FQuat

 

Orientation

Current camera/head orientation

Public variable

float

 

OrthoWorldCoordinateWidth

Current width of viewport in world space coordinates. Only valid if bIsOrthographic is true.

Public variable

FVector

 

Position

Current camera/head position

Functions

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss