Expose additional TextMeshPro features for Udon
Vowgan
We are currently developing an Ereader for public-domain books in VRChat, and we would like various TMP_Text settings to be exposed for this project. We would love to haveOverflow Page ("Page To Display") as well as setting "Font Asset" to change fonts at runtime.
Some features are exposed on the base TMP_Text class, but not on inherited classes such as TextMeshProUGUI.
- fontSize
Inversely, some are exposed on inherited classes such as TextMeshProUGUI, while not on the base TMP_Text class.
- textInfo
Additional features could include:
- isTextOverflowing
- textInfo.characterInfo (characterInfo array itself is exposed, but it seems that TMP_CharacterInfo is completely unexposed, so the values aren't usable)
Log In