/// <summary>Sets the font atlas for this batch.</summary> public void SetFontAtlas(TextureAtlas font, float alias) { FontAtlas = font; Mesh.SetFontAtlas(font); Mesh.Material.SetFloat("TopFontAlias", Fonts.OutlineLocation + alias); Mesh.Material.SetFloat("BottomFontAlias", Fonts.OutlineLocation - alias); }
/// <summary>Sets the font atlas for this batch.</summary> public void SetFontAtlas(TextureAtlas font) { FontAtlas = font; Mesh.SetFontAtlas(font); }