FPerspectiveMatrix::FPerspectiveMatrix

Constructor

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/PerspectiveMatrix.h

Include

#include "Math/PerspectiveMatrix.h"

Syntax

FPerspectiveMatrix
(
    float HalfFOV,
    float Width,
    float Height,
    float MinZ
)

Remarks

Constructor

Parameters

Parameter

Description

HalfFOV

half Field of View in the Y direction

Width

view space width

Height

view space height

MinZ

distance to the near Z plane @note that the FOV you pass in is actually half the FOV, unlike most perspective matrix functions (D3DXMatrixPerspectiveFovLH).

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