Skip to content

ITextStudioGlyphColorEncoder

InterfaceTextStudioTextStudio
public interface ITextStudioGlyphColorEncoder

Optional backend or renderer contract for encoding authored sRGB colors into its native glyph vertex format.

Color32 EncodeGlyphColor(Color32 authoredColor)

Converts an authored sRGB color into the backend or renderer’s native glyph vertex representation.

Parameters

Name Type
authoredColor UnityEngine.Color32

Returns

UnityEngine.Color32