UKismetMathLibrary::GetAzimuthAndElevation

Breaks a direction vector apart into Azimuth (Yaw) and Elevation (Pitch) rotation values given in degrees.

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/Private/KismetMathLibrary.cpp

Syntax

static void GetAzimuthAndElevation
(
    FVector InDirection,
    const FTransform & ReferenceFrame,
    float & Azimuth,
    float & Elevation
)

Remarks

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)

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