ITextStudioGlyphColorEncoder
public interface ITextStudioGlyphColorEncoderOptional backend or renderer contract for encoding authored sRGB colors into its native glyph vertex format.
Methods
Section titled “Methods”
EncodeGlyphColor(Color32)
Section titled “EncodeGlyphColor(Color32)”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