Edit

Share via


VisualExtensions.ToVector2(String) Method

Definition

Converts a String to Vector2

public static System.Numerics.Vector2 ToVector2 (this string str);
static member ToVector2 : string -> System.Numerics.Vector2
<Extension()>
Public Function ToVector2 (str As String) As Vector2

Parameters

str
String

A string in the format of "float, float"

Returns

Vector2

Applies to