你好,这里有人知道我是否可以在Z轴上旋转一个butón? [英] Hello, Does anybody here knows if i can rotate a butón in the Z axis?

查看:61
本文介绍了你好,这里有人知道我是否可以在Z轴上旋转一个butón?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我们假设我有一个自定义控件(按钮),我希望在功能实现之前对其进行动画处理(如在简介中),我希望它在完全定位之前在Z轴上旋转,我可以做吗?那?它导致我导入一个ZAM3D矩形,然后按
一个按钮,有没有人有更好的主意?或者只是回答问题,如果你愿意的话。


谢谢。

解决方案

如果这是在silverlight中,我会说只使用perspective3d转换。 但由于它听起来像WPF,我会使用Greg Schechter的Planerator。 

http://blogs.msdn.com/b/greg_schechter/archive/2007/10/26/enter-the-planerator-dead-simple-3d-in-wpf-与-A-笨-name.aspx


Let's say I have a custom control (Button) and i want to animate it before it's functional (like in an Intro) and i want it to rotate in the Z axis before it's fully positioned, can I do that? it ocurs to me to import a ZAM3D Rectangle and then make it a button, Does anyone has a better idea? or just answer the question if you may.

Thank you.

解决方案

If this was in silverlight, I would say to just use a perspective3d transform.  But since it sounds like WPF, I would use Greg Schechter's Planerator.  http://blogs.msdn.com/b/greg_schechter/archive/2007/10/26/enter-the-planerator-dead-simple-3d-in-wpf-with-a-stupid-name.aspx


这篇关于你好,这里有人知道我是否可以在Z轴上旋转一个butón?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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