TTransform::InverseTransformVector

Do backward operation when inverse, translation -> rotation -> scale

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/TransformNonVectorized.h"

Syntax

TVector< T > InverseTransformVector
(
    const TVector< T > & V
) const

Remarks

Transform a direction vector by the inverse of this transform - will not take into account translation part. If you want to transform a surface normal (or plane) and correctly account for non-uniform scaling you should use TransformByUsingAdjointT with adjoint of matrix inverse.