背水一战 Windows 10 (70) - 控件(控件基类): UIElement - Transform3D(3D变换), Projection(3D投影)...
生活随笔
收集整理的這篇文章主要介紹了
背水一战 Windows 10 (70) - 控件(控件基类): UIElement - Transform3D(3D变换), Projection(3D投影)...
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
原文:背水一戰 Windows 10 (70) - 控件(控件基類): UIElement - Transform3D(3D變換), Projection(3D投影)
[源碼下載]
作者:webabcd
介紹
背水一戰 Windows 10 之 控件(控件基類 - UIElement)
- Transform3D(3D變換)
- Projection(3D投影)
示例
1、演示 UIElement 的 3D 變換的應用
Controls/BaseControl/UIElementDemo/Transform3DDemo.xaml
Controls/BaseControl/UIElementDemo/Transform3DDemo.xaml.cs
/** UIElement - UIElement(繼承自 DependencyObject, 請參見 /Controls/BaseControl/DependencyObjectDemo/)* Transform3D - 3D 變換* * * 本例用于演示 UIElement 的 3D 變換的應用*/using Windows.UI.Xaml.Controls;namespace Windows10.Controls.BaseControl.UIElementDemo {public sealed partial class Transform3DDemo : Page{public Transform3DDemo(){this.InitializeComponent();}} }
2、演示 UIElement 的投影(模擬 3D 效果)的應用
Controls/BaseControl/UIElementDemo/ProjectionDemo.xaml
Controls/BaseControl/UIElementDemo/ProjectionDemo.xaml.cs
/** UIElement - UIElement(繼承自 DependencyObject, 請參見 /Controls/BaseControl/DependencyObjectDemo/)* Projection - 投影(模擬 3D 效果)* PlaneProjection - 將對象投影到平面(通過 x,y,z 方向的旋轉和位移控制投影)* Matrix3DProjection - 將對象投影到平面(通過 Matrix3D 矩陣控制投影)* * * 本例用于演示 UIElement 的投影(模擬 3D 效果)的應用*/using Windows.UI.Xaml.Controls;namespace Windows10.Controls.BaseControl.UIElementDemo {public sealed partial class ProjectionDemo : Page{public ProjectionDemo(){this.InitializeComponent();}} }
OK
[源碼下載]
總結
以上是生活随笔為你收集整理的背水一战 Windows 10 (70) - 控件(控件基类): UIElement - Transform3D(3D变换), Projection(3D投影)...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C语言-数据结构与其他数据形式
- 下一篇: 一比特控制所有:通过一比特绕过Windo