FDefaultValueHelper::ParseVector2D

Converts a string into a [FVector](API\Runtime\Core\Math\FVector). Accepted form: " %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 ParseVector2D
(
    const FString & Source,
    FVector2D & OutVal
)

Remarks

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

Returns

true if the conversion happened, false otherwise

Parameters

Parameter

Description

Source

the input string to try to convert

OutVal

the output vector2D

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