Sign in to follow this  

Mesh.textFromFont size problem

This topic is 4377 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
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

This topic is 4377 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this