FDefaultValueHelper::ParseRotator

Converts a string into a [FRotator](API\Runtime\Core\Math\FRotator). Accepted form: " %f, %f, %f "

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/DefaultValueHelper.h

Include

#include "Misc/DefaultValueHelper.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/DefaultValueHelper.cpp

Syntax

static bool ParseRotator
(
    const FString & Source,
    FRotator & OutVal
)

Remarks

Converts a string into a FRotator. Accepted form: " %f, %f, %f "

Returns

true if the conversion happened, false otherwise

Parameters

Parameter

Description

Source

the input string to try to convert

OutVal

the output rotator

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