[This is preliminary documentation and is subject to change.]

Gets color name for a numeric color code.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public static string GetName(
	int index
)

Parameters

index
Int32
Ordinal numeric color code (between 0 and 15).

Return Value

Lowercase color name. If input is out of range, returns null.

See Also