S&box Wiki

Vector3.Parse

Vector3.Parse

Syntax

static Vector3 Parse( string str )

Description

Given a string, try to convert this into a vector. Example input formats that work would be "1,1,1", "1;1;1", "[1 1 1]".

This handles a bunch of different seperators ( ' ', ',', ';', '\n', '\r' ).

It also trims surrounding characters ('[', ']', ' ', '\n', '\r', '\t', '"').

Arguments

string str

Returns

Special Pages


Wikis

?

Render Time: 56ms

DB GetPage 45
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 1