简体   繁体   English

XNA C#在3D中创建HUD

[英]XNA C# Creating HUD in 3D

I would like to create a simple label on 3D display. 我想在3D显示器上创建一个简单的标签。 Something like this . 这样的东西。

I tried using SpriteBatch and SpriteFont which only gave me more problems. 我尝试使用SpriteBatch和SpriteFont,这只给了我更多的问题。 Also, I was through some tutorials that didn't help me. 另外,我通过了一些没有帮助我的教程。

Do you have any tutorials for me or any solutions? 你有任何教程给我或任何解决方案吗?

Thank you. 谢谢。

我通常将我的3D绘图代码和UI代码分成两个SpriteBatch ..这样,我可以将一个矩阵应用于3D视图,并将不同的矩阵应用于2D屏幕覆盖。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM