WPF与XNA在现实生活中融合得如何? [英] How well does WPF blend with XNA in real life?

查看:114
本文介绍了WPF与XNA在现实生活中融合得如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解在同一个应用程序中有几种混合XNA和WPF的方法。我发现在XNA游戏中将WPF用于所有GUI和HUD东西很诱人。是否有人对使用.NET 3.5 SP1在现实生活中如何有效地工作有任何实践经验?任何陷阱(例如空域问题 )?关于哪种方法最有效的任何提示?

I understand that there are several ways to blend XNA and WPF within the same application. I find it enticing to use WPF for all GUI and HUD stuff in my XNA games. Does anyone have any practical experience on how well this approach works in real life using .NET 3.5 SP1 ? Any pitfalls (such as the "airspace problem")? Any hint on what appoach works best?

推荐答案

3.5 SP1中有一个附加功能,可以在DirectX和WPF之间进行更好的交互(D3DImage ),一种实现方法是通过XNA。

There is an addition in 3.5 SP1 that allows better interaction between DirectX and WPF (D3DImage), and one way to get to that is through XNA.

以下是一些详细信息:

http://jmorrill.hjtcentral.com/Default.aspx?tabid=428& EntryID = 259

这篇关于WPF与XNA在现实生活中融合得如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆