Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMinimalViewInfo
Description
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.
| Name | CalculateProjectionMatrixGivenViewRectangle |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraTypes.h |
| Include Path | #include "Camera/CameraTypes.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraStackTypes.cpp |
static void CalculateProjectionMatrixGivenViewRectangle
(
FMinimalViewInfo & ViewInfo,
TEnumAsByte < enum EAspectRatioAxisConstraint > AspectRatioAxisConstraint,
const FIntRect & ConstrainedViewRectangle,
FSceneViewProjectionData & InOutProjectionData
)