• Advertisement
Sign in to follow this  

Mesh.textFromFont size problem

This topic is 4451 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I created a Text Mesh with the textFromFont method. So far it works fine, but I can't set the font size. Every value I set as the emSize doesn't change anything. The generated mesh is always the same size. Does anyone know why, and how to chage this? Best regards Pikebu

Share this post


Link to post
Share on other sites
Advertisement
perhaps this doesn't help, but you could modify the world matrix by scaling it when you call the draw method for the mesh. Of course make sure to save the world matrix and restore it afterwards.



-Devin

Share this post


Link to post
Share on other sites
Thanks,

but I think there must be an other way of getting this done. I can't imagine that's the way I have to go normally. Why is there a size property in the textFromFont method, when it's not changing anything?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement