Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Transform a direction vector by the supplied transform - will not change its length. For example, if T was an object's transform, this would transform a direction from local space to world space.
| Name | TransformDirection |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure, Meta=(ScriptMethod="TransformDirection"), Category="Math|Transform")
static UE_FVector TransformDirection
(
const FTransform & T,
FVector Direction
)