FQuat::InitFromString

Initialize this [FQuat](API\Runtime\Core\Math\FQuat) from a [FString](API\Runtime\Core\Containers\FString).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Quat.h"

Syntax

bool InitFromString
(
    const FString & InSourceString
)

Remarks

Initialize this FQuat from a FString. The string is expected to contain X=, Y=, Z=, W=, otherwise this FQuat will have indeterminate (invalid) values.

Returns

true if the FQuat was initialized; false otherwise.

Parameters

Parameter

Description

InSourceString

FString containing the quaternion values.

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