Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
Include |
#include "ToolContextInterfaces.h" |
struct FViewCameraState
FViewCameraState is a bucket of state information that a Tool might need to implement interactions that depend on the current scene view.
Name | Description | ||
---|---|---|---|
|
float |
AspectRatio |
Current Aspect Ratio |
|
bIsOrthographic |
Is current view an orthographic view |
|
|
bIsVR |
Is current view a VR view |
|
|
float |
HorizontalFOVDegrees |
Current Horizontal Field of View Angle in Degrees. Only relevant if bIsOrthographic is false. |
|
Orientation |
Current camera/head orientation |
|
|
float |
OrthoWorldCoordinateWidth |
Current width of viewport in world space coordinates. Only valid if bIsOrthographic is true. |
|
Position |
Current camera/head position |
Name | Description | ||
---|---|---|---|
|
Forward() |
||
|
float |
GetFOVAngleNormalizationFactor() |
|
|
float |
GetPDIScalingFactor() |
|
|
Right() |
||
|
Up() |