Documentation

Text::TryParseHexColor

Function

bool Text::TryParseHexColor(string str, vec4&out)

Parses the given string as a hexadecimal color such as "#FF0000". This will return true only if the string was parsed entirely and was not empty.

string str

vec4

Returns bool