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