简体   繁体   English

WP7上的XNA读取触摸状态的频率是多少?

[英]How often does XNA on WP7 read touches state?

How often does XNA on WP7 read touches state? WP7上的XNA读取触摸状态的频率是多少? Can I make XNA do it more often? 我可以让XNA更频繁地做吗?

XNA's Update() method (one of the default five) is called 60 times a second, so the touch state can be updated in there thus meaning it is also updated 60 times a sec. XNA的Update()方法(默认值为5之一)每秒调用60次,因此可以在那里更新触摸状态,这意味着它也会每秒更新60次。 Its your choice how you update the touch state. 您可以选择更新触摸状态的方式。 The win phone os will have internal updates but for your game you can check the states through the TouchPanel class. win phone OS将有内部更新,但对于您的游戏,您可以通过TouchPanel类检查状态。

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

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