![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ToolContextInterfaces.h>
Public Member Functions | |
| FVector | Right () const |
| FVector | Up () const |
| FVector | Forward () const |
| float | GetPDIScalingFactor () const |
| float | GetFOVAngleNormalizationFactor () const |
Public Attributes | |
| FVector | Position = FVector(EForceInit::ForceInit) |
| FQuat | Orientation = FQuat(EForceInit::ForceInit) |
| float | HorizontalFOVDegrees = 90 |
| float | OrthoWorldCoordinateWidth = 100 |
| float | AspectRatio = 1 |
| bool | bIsOrthographic = false |
| bool | bIsVR = false |
| double | DPIScale = 1.0 |
FViewCameraState is a bucket of state information that a Tool might need to implement interactions that depend on the current scene view.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| float FViewCameraState::AspectRatio = 1 |
Current Aspect Ratio
| double FViewCameraState::DPIScale = 1.0 |
DPI scale
| float FViewCameraState::HorizontalFOVDegrees = 90 |
Current Horizontal Field of View Angle in Degrees. Only relevant if bIsOrthographic is false.
| FQuat FViewCameraState::Orientation = FQuat(EForceInit::ForceInit) |
Current camera/head orientation
| float FViewCameraState::OrthoWorldCoordinateWidth = 100 |
Current width of viewport in world space coordinates. Only valid if bIsOrthographic is true.
| FVector FViewCameraState::Position = FVector(EForceInit::ForceInit) |
Current camera/head position