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,
    float MaxZ
)

Remarks

Constructor

that the FOV you pass in is actually half the FOV, unlike most perspective matrix functions (D3DXMatrixPerspectiveFovLH).

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

MaxZ

distance to the far Z plane

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