سؤال

I would like to create a simple label on 3D display. Something like this.

I tried using SpriteBatch and SpriteFont which only gave me more problems. Also, I was through some tutorials that didn't help me.

Do you have any tutorials for me or any solutions?

Thank you.

هل كانت مفيدة؟

المحلول

I normally split my 3D drawing code and UI code into two SpriteBatch's.. that way, I can apply one matrix to the 3D view, and a different matrix to the 2D screen overlay.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top