RealDocs

UKismetStringLibrary::Conv_RotatorToString

function Engine Blueprint Since unknown
#include "Kismet/KismetStringLibrary.h"
Access: public Specifiers: staticBlueprintPureBlueprintAutocast

Description

Converts an FRotator to a string in the form 'P= Y= R='. Backs the 'To String (Rotator)' Blueprint conversion node.

Caveats & Gotchas

  • Field order in the output is Pitch, Yaw, Roll ('P= Y= R='), not the X/Y/Z order used by vector conversions — easy to misread when scanning logs quickly.

Signature

static FString Conv_RotatorToString(FRotator InRot)

Parameters

Name Type Description Default
InRot FRotator The rotator value to convert.

Return Type

FString

Example

Log an actor's rotation C++
FRotator Rotation = GetActorRotation();
UE_LOG(LogTemp, Log, TEXT("Rotation: %s"), *UKismetStringLibrary::Conv_RotatorToString(Rotation));

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.