TVector4::InitFromString

Initialize this Vector based on an [FString](API\Runtime\Core\Containers\FString).

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector4.h

Include

#include "Math/Vector4.h"

Syntax

bool InitFromString
(
    const FString & InSourceString
)

Remarks

Initialize this Vector based on an FString. The String is expected to contain X=, Y=, Z=, W=. The TVector4 will be bogus when InitFromString returns false.

Returns

true if the X,Y,Z values were read successfully; false otherwise.

Parameters

Parameter

Description

InSourceString

FString containing the vector values.