zoukankan
html css js c++ java
WPF : 3D 最简单的WPF 3D
<
Window x:Class
=
"
SimplestWpf3D.Window1
"
xmlns
=
"
http://schemas.microsoft.com/winfx/2006/xaml/presentation
"
xmlns:x
=
"
http://schemas.microsoft.com/winfx/2006/xaml
"
Title
=
"
Window1
"
Height
=
"
300
"
Width
=
"
300
"
>
<
Grid
>
<
Viewport3D
>
<!--Camera-->
<
Viewport3D.Camera
>
<
PerspectiveCamera
/>
</
Viewport3D.Camera
>
<!--Lights and Objects in the Children-->
<
Viewport3D.Children
>
<!--Light-->
<
ModelVisual3D
>
<
ModelVisual3D.Content
>
<
DirectionalLight Color
=
"
White
"
Direction
=
"
0,1,-1
"
/>
</
ModelVisual3D.Content
>
</
ModelVisual3D
>
<!--Object-->
<
ModelVisual3D
>
<
ModelVisual3D.Content
>
<
GeometryModel3D
>
<
GeometryModel3D.Geometry
>
<
MeshGeometry3D Positions
=
"
-1 0 -8, 1 0 -8, 0 1 -8
"
/>
</
GeometryModel3D.Geometry
>
<
GeometryModel3D.Material
>
<
DiffuseMaterial Brush
=
"
Red
"
/>
</
GeometryModel3D.Material
>
</
GeometryModel3D
>
</
ModelVisual3D.Content
>
</
ModelVisual3D
>
</
Viewport3D.Children
>
</
Viewport3D
>
</
Grid
>
</
Window
>
查看全文
相关阅读:
以太坊公开拍卖智能合约案例
部署智能合约
ERC20 Token
查看crontab运行状态
php把excel数值格式转成日期格式
PHP识别中文编码并自动转换为UTF-8
python中文件内容替换
mysqldump备份指定的数据
linux设置服务器时间
git常用命令
原文地址:https://www.cnblogs.com/mrfangzheng/p/1179559.html
最新文章
Excel VBA ——批量工作表重命名
介绍 32 位和 64 位版本的 Microsoft Office 2010
不是每个人都可以坚持!
[20191012]使用bash从sql_id计算hash_value.txt
[20191011]通过bash计算sql语句的sql_id.txt
[20191011]拆分rowid 2.txt
[20191011]bash任意进制编码表.txt
[20191010]bash行计算器.txt
[20191002]函数dump的bug.txt
[20191003]oracle number类型存储转化脚本.txt
热门文章
[20190930]oracle raw类型转化number脚本.txt
[20190929]bash使用bc计算的相关问题.txt
[20190920]完善vim调用sqlplus脚本.txt
手写递归
单例模式
冒泡排序
解决mysql时区问题以及SSL问题
在springBoot的控制台打印sql语句
配置idea
在SpringBoot框架中使用拦截器
Copyright © 2011-2022 走看看