Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Breaks a direction vector apart into Azimuth (Yaw) and Elevation (Pitch) rotation values given in degrees. (non-clamped) Relative to the provided reference frame (an Actor's WorldTransform for example)
| Name | GetAzimuthAndElevation |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Math|Vector",
Meta=(ScriptMethod="GetAzimuthElevation", NativeBreakFunc))
static void GetAzimuthAndElevation
(
FVector InDirection,
const FTransform & ReferenceFrame,
float & Azimuth,
float & Elevation
)