GenerateYAxis

Given 2 axes of a basis stored as a packed type, regenerates the y-axis tangent vector and scales by z.W

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h

Include

#include "RenderUtils.h"

Syntax

template<typename VectorType>
FVector GenerateYAxis
(
    const VectorType & XAxis,
    const VectorType & ZAxis
)

Remarks

Given 2 axes of a basis stored as a packed type, regenerates the y-axis tangent vector and scales by z.W

Returns

y axis (binormal)

Parameters

Parameter

Description

XAxis

x axis (tangent)

ZAxis

z axis (normal), the sign of the determinant is stored in ZAxis.W

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