TTransform3::TransformNormal

Surface Normals are special, their transform is Rotate( Normalize( (1/Scale) * Normal) ) ). However 1/Scale requires special handling in case any component is near-zero.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/TransformTypes.h

Include

#include "TransformTypes.h"

Syntax

TVector< RealType > TransformNormal
(
    const UE::Math::TVector< RealType > & Normal
) const

Remarks

Surface Normals are special, their transform is Rotate( Normalize( (1/Scale) * Normal) ) ). However 1/Scale requires special handling in case any component is near-zero.

Returns

input surface normal with transform applied.