Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/FDisplayClusterProjectionMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UE::Math::TMatrix< T > MakeAsymmetricProjectionMatrix
(
const UE::Math::TVector4< T >& InFrustumExtents, |
Builds a perspective projection matrix from asymmetric near-plane extents (off-axis frustum). | Math/DisplayClusterProjectionMath.h | |
static UE::Math::TMatrix< T > MakeAsymmetricProjectionMatrix
(
const T InLeft, |
Builds a perspective projection matrix from asymmetric near-plane extents (off-axis frustum). | Math/DisplayClusterProjectionMath.h |
MakeAsymmetricProjectionMatrix(const UE::Math::TVector4< T > &, const UE::Math::TVector2< T > &)
Description
Builds a perspective projection matrix from asymmetric near-plane extents (off-axis frustum).
| Name | MakeAsymmetricProjectionMatrix |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Math/DisplayClusterProjectionMath.h |
| Include Path | #include "Math/DisplayClusterProjectionMath.h" |
template<typename T>
static UE::Math::TMatrix < T > MakeAsymmetricProjectionMatrix
(
const UE::Math::TVector4 < T > & InFrustumExtents,
const UE::Math::TVector2 < T > & InClipPlanes
)
Parameters
| Name | Remarks |
|---|---|
| InFrustumExtents | Near-plane extents as (Left, Right, Top, Bottom). |
| InClipPlanes | Clip distances as (ZNear, ZFar). Pass ZNear in both components for an unlimited far plane. |
MakeAsymmetricProjectionMatrix(const T, const T, const T, const T, const T, const T)
Description
Builds a perspective projection matrix from asymmetric near-plane extents (off-axis frustum). Inputs are signed distances from the eye to each frustum edge, measured at the near plane. The result uses Unreal's Z-inverted left-handed convention.
| Name | MakeAsymmetricProjectionMatrix |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Math/DisplayClusterProjectionMath.h |
| Include Path | #include "Math/DisplayClusterProjectionMath.h" |
template<typename T>
static UE::Math::TMatrix < T > MakeAsymmetricProjectionMatrix
(
const T InLeft,
const T InRight,
const T InTop,
const T InBottom,
const T InZNear,
const T InZFar
)
Parameters
| Name | Remarks |
|---|---|
| InLeft | Left edge extent at the near plane (typically negative). |
| InRight | Right edge extent at the near plane (typically positive). |
| InTop | Top edge extent at the near plane (typically positive). |
| InBottom | Bottom edge extent at the near plane (typically negative). |
| InZNear | Near clip plane distance (must be > 0). |
| InZFar | Far clip plane distance. Pass InZNear to use an unlimited far plane. |