FMinimalViewInfo::CalculateProjectionMatrixGivenView

Calculates the projection matrix (and potentially a constrained view rectangle) given a [FMinimalViewInfo](API\Runtime\Engine\Camera\FMinimalViewInfo) and partially configured projection data (must have the view rect already set)

Windows
MacOS
Linux

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

Syntax

static void CalculateProjectionMatrixGivenView
(
    const FMinimalViewInfo & ViewInfo,
    TEnumAsByte< enum EAspectRatioAxisConstraint > AspectRatioAxisConstraint,
    class FViewport * Viewport,
    struct FSceneViewProjectionData & InOutProjectionData
)

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss