Metro 应用程序 - 使用 C# 对 2D 控件进行 3D 转换
我正在使用 C# 创建一个 Metro 应用程序,并希望 2D 块在 3D 空间中旋转,就像 http://msdn.microsoft.com/en-us/library/hh673529(v=vs.85).aspx
但是,上面的链接使用 CSS3 和 Javascript,我想做这使用 C# 和 Metro 应用程序允许的 API。我知道有一些库,例如 http://thriple.codeplex.com/releases/view/24393< /a>,这可以为 WPF 应用程序执行此操作,但我认为它们不适用于 Metro 应用程序。
有没有人尝试做类似的事情或有任何参考?
I am creating a metro app using C# and want a 2D block to swivel around in 3D space, much like in http://msdn.microsoft.com/en-us/library/hh673529(v=vs.85).aspx
However, the link above uses CSS3 and Javascript and I want to do this using C# and the APIs allowed for metro apps. I know there are libraries, like http://thriple.codeplex.com/releases/view/24393, that can do this for WPF apps but I don't think they will work for metro apps.
Has anyone attempted to do something similar to this or have any references?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用“投影”。请参阅 windows.ui.xaml。 media.planeprojection
示例:
grid.Projection = new PlaneProjection() { RotationY = 45 };
You can use "Projection". See windows.ui.xaml.media.planeprojection
Example:
grid.Projection = new PlaneProjection() { RotationY = 45 };