UKismetMathLibrary::InverseTransformDirection

Transform a direction vector by the inverse of the supplied transform - will not change its length.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl

Syntax

static FVector InverseTransformDirection
(
    const FTransform & T,
    FVector Direction
)

Remarks

Transform a direction vector by the inverse of the supplied transform - will not change its length. For example, if T was an object's transform, this would transform a direction from world space to local space.

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