Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector2
Description
Initialize this Vector based on an FString. The String is expected to contain X=, Y=. The TVector2
| Name | InitFromString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector2D.h |
| Include Path | #include "Math/Vector2D.h" |
bool InitFromString
(
const FString & InSourceString
)
true if the X,Y values were read successfully; false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InSourceString | FString containing the vector values. |