UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FFirstPersonParameters Struct Reference

#include <SceneView.h>

Public Member Functions

 FFirstPersonParameters ()=default
 
 FFirstPersonParameters (float InFOVCorrectionFactor, float InScale, bool bInUseParameters)
 

Public Attributes

float FOVCorrectionFactor = 1.0f
 
float Scale = 1.0f
 
bool bUseParameters = false
 

Constructor & Destructor Documentation

◆ FFirstPersonParameters() [1/2]

FFirstPersonParameters::FFirstPersonParameters ( )
default

◆ FFirstPersonParameters() [2/2]

FFirstPersonParameters::FFirstPersonParameters ( float  InFOVCorrectionFactor,
float  InScale,
bool  bInUseParameters 
)
inline

Member Data Documentation

◆ bUseParameters

bool FFirstPersonParameters::bUseParameters = false

If bUseParameters is true, FOV and Scale should be applied to primitives tagged as "IsFirstPerson".

◆ FOVCorrectionFactor

float FFirstPersonParameters::FOVCorrectionFactor = 1.0f

FOV correction factor applied to the first person transform used on primitives tagged as "IsFirstPerson". This should be computed as tan(SceneFOVRadians * 0.5) / tan(FirstPersonFOVRadians * 0.5).

◆ Scale

float FFirstPersonParameters::Scale = 1.0f

The scale to apply to primitives tagged as "IsFirstPerson". This is used to scale down primitives towards the camera such that they are small enough not to intersect with the scene.


The documentation for this struct was generated from the following file: