Matrix3DProjection存在于Silverlight中但不存在于WPF中?
我需要对 WPF 中的变换进行锥形效果。 Charles Petzold 写了一些关于它的好东西,例如: http://www.charlespetzold.com/blog/2009/07/Using-the-Matrix3DProjection-Class-in-Silverlight-3.html" charlespetzold.com/blog/2009/07/Using-the-Matrix3DProjection-Class-in-Silverlight-3.html
但现在看来使用的Matrix3DProjection类只存在于Silverlight中,而不存在于WPF中..? (为什么 Mirosoft 认为它只能在 Silverlight 中有用,而不能在 WPF 中有用?)
有什么办法可以解决这个问题吗?
I need a taper-effect on my transform in WPF.
Charles Petzold wrote some nice stuff about it for example :
http://www.charlespetzold.com/blog/2009/07/Using-the-Matrix3DProjection-Class-in-Silverlight-3.html
But now it seems that the used Matrix3DProjection class only exists in Silverlight, and NOT in WPF..?
(Why would Mirosoft think it could only be useful in Silverlight and not in WPF ?)
Is there any way to get around this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Matrix3DProjection 位于 Silverlight 中,因为 Silverlight 不像 WPF 那样具有完整的 3D 支持。
您可以通过使用 3D 支持来完成一切。
是的,Matrix3DProjection 很容易,而“真正的”3D 确实很困难,我个人很难在 3D 中做一些使用 Matrix3DProjects 很容易的事情,我希望 Matrix3DProjection 能够将其纳入 WPF 的未来版本 - 但现在您知道原因了你不觉得好点了吗? (我不)
Matrix3DProjection is in Silverlight because Silverlight doesn't have full 3D support like WPF has.
You can do everything by using the 3D support.
Yes, Matrix3DProjection is easy and "real" 3D is really difficult and I personally struggled to do something in 3D that would have been easy with Matrix3DProjects and I hope Matrix3DProjection will make it into a future version of WPF - but now that you know the reason don't you feel better? (I don't)