Translations:Importing and using MSDFs/2/en: Difference between revisions

From Resonite Wiki
Importing a new version from external source
m FuzzyBot moved page Translations:Rendering MSDFs/2/en to Translations:Importing and using MSDFs/2/en without leaving a redirect: Part of translatable page "Rendering MSDFs"
(No difference)

Revision as of 17:30, 27 April 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Importing and using MSDFs)
To render MSDFs in Resonite, use the [[Component:TextUnlitMaterial|TextUnlitMaterial]] or [[Component:UI_TextUnlitMaterial|UI_TextUnlitMaterial]] materials. The MSDF can be placed in the <code>FontAtlas</code> field of the material. <code>TintColor</code> is used to color the actual object the MSDF represents, while <code>BackgroundColor</code> can be used to color the background of the MSDF, so long as <code>AutoBackgroundColor</code> is unchecked. <code>OutlineColor</code> can be used to give an outline color to the object. <code>FaceDilate</code> dilates the boundary of the MSDF, <code>OutlineThickness</code> controls the thickness of the outline, and <code>FaceSoftness</code> controls how soft the object looks.

To render MSDFs in Resonite, one can use the TextUnlitMaterial or UI_TextUnlitMaterial materials like any other material on a MeshRenderer. The MSDF can be placed in the FontAtlas field of the material. TintColor is used to color the actual object the MSDF represents, while BackgroundColor can be used to color the background of the MSDF, so long as AutoBackgroundColor is unchecked. OutlineColor can be used to give an outline color to the object. FaceDilate dilates the boundary of the MSDF, OutlineThickness controls the thickness of the outline, and FaceSoftness controls how soft the object looks.