ColorExt.Parse Method

Parses a Color from an HTML string (#RRGGBB or #RRGGBBAA).

Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Color Parse(
	string html
)

Parameters

 

html
Type: System.String
Source HTML string

Return Value

Type: Color
The parsed color

Exceptions

ExceptionCondition
FormatExceptionThe string had an incorrect format

See Also

Reference

ColorExt Class
UltimateXR.Extensions.Unity.Render Namespace