Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Camera > FMinimalViewInfo
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Camera/CameraTypes.h |
Include | #include "Camera/CameraTypes.h" |
Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraStackTypes.cpp |
static void CalculateProjectionMatrixGivenViewRectangle
&40;
const FMinimalViewInfo & ViewInfo,
TEnumAsByte< enum EAspectRatioAxisConstraint > AspectRatioAxisConstraint,
const FIntRect & ConstrainedViewRectangle,
FSceneViewProjectionData & InOutProjectionData
&41;
Remarks
Calculates the projection matrix (and potentially a constrained view rectangle) given a FMinimalViewInfo and partially configured projection data (must have the view rect already set). ConstrainedViewRectangle is only used if the ViewInfo.bConstrainAspectRatio is set.