当前位置: 首页 > news >正文

怎么做电影网站如何推广我的网站

怎么做电影网站,如何推广我的网站,权重域名做网站有用么,去年做哪个网站致富简述 Windows 演示基础 (WPF) 提供了一种功能,用于根据应用程序要求绘制、转换 3D 图形并为其添加动画效果。它不支持完整的3D游戏开发,但在某种程度上,您可以创建3D图形。 通过组合 2D 和 3D 图形,您还可以…

简述
Windows 演示基础 (WPF) 提供了一种功能,用于根据应用程序要求绘制、转换 3D 图形并为其添加动画效果。它不支持完整的3D游戏开发,但在某种程度上,您可以创建3D图形。
通过组合 2D 和 3D 图形,您还可以创建丰富的控件、提供复杂的数据插图或增强应用程序界面的用户体验。“视口3D”元素将 3D 模型托管到我们的 WPF 应用程序中。
示例
让我们举一个简单的例子来了解如何使用3D图形。
创建一个名为 WPF3D 图形的新 WPF 项目。
以下 XAML 代码演示如何使用 3D 几何图形创建 2D 对象。

<Window x:Class = "WPF3DGraphics.MainWindow" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x = "http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc = "http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local = "clr-namespace:WPF3DGraphics" mc:Ignorable = "d" Title = "MainWindow" Height = "500" Width = "604"> <Grid> <Viewport3D> <Viewport3D.Camera> <PerspectiveCamera Position = "2,0,10" LookDirection = "0.2,0.4,-1"FieldOfView = "65" UpDirection = "0,1,0" /> </Viewport3D.Camera> <ModelVisual3D> <ModelVisual3D.Content> <Model3DGroup> <AmbientLight Color = "Bisque" /> <GeometryModel3D> <GeometryModel3D.Geometry> <MeshGeometry3D Positions = "0,0,0 0,8,0 10,0,0 8,8,0"Normals = "0,0,1 0,0,1 0,0,1 0,0,1" TriangleIndices = "0,2,1 1,2,3"/> </GeometryModel3D.Geometry><GeometryModel3D.Material> <DiffuseMaterial Brush = "Bisque" /> </GeometryModel3D.Material> </GeometryModel3D></Model3DGroup> </ModelVisual3D.Content> </ModelVisual3D> </Viewport3D> </Grid> </Window>     

当您编译并执行上述代码时,它将在3D中生成2D对象。

示例
让我们l一个显示 3D 对象的示例。
创建一个名为 WPF3D 图形1 的新 WPF 项目
以下 XAML 代码创建一个 3D 对象和一个滑块。在滑块的帮助下,您可以旋转此 3D 对象。

<Window x:Class = "WPF3DGraphics1.MainWindow" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x = "http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d = "http://schemas.microsoft.com/expression/blend/2008" xmlns:mc = "http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local = "clr-namespace:WPF3DGraphics1" mc:Ignorable = "d" Title = "MainWindow" Height = "350" Width = "525"> <Grid><Viewport3D Name="viewport3D1"><Viewport3D.Camera> <PerspectiveCamera x:Name = "camMain" Position = "6 5 4" LookDirection = "-6 -5 -4"> </PerspectiveCamera> </Viewport3D.Camera><ModelVisual3D> <ModelVisual3D.Content> <DirectionalLight x:Name = "dirLightMain" Direction = "-1,-1,-1"> </DirectionalLight> </ModelVisual3D.Content> </ModelVisual3D><ModelVisual3D x:Name = "MyModel"> <ModelVisual3D.Content> <GeometryModel3D><GeometryModel3D.Geometry><MeshGeometry3D x:Name = "meshMain"Positions = "0 0 0  1 0 0  0 1 0  1 1 0  0 0 1  1 0 1  0 1 1  0 1 1"  TriangleIndices = "2 3 1  3 1 0  7 1 3  7 5 1  6 5 7  6 4 5  6 2 02 0 4  2 7 3  2 6 7  0 1 5  0 5 4"> </MeshGeometry3D> </GeometryModel3D.Geometry> <GeometryModel3D.Material> <DiffuseMaterial x:Name = "matDiffuseMain"><DiffuseMaterial.Brush> <SolidColorBrush Color = "Bisque"/> </DiffuseMaterial.Brush> </DiffuseMaterial> </GeometryModel3D.Material> </GeometryModel3D></ModelVisual3D.Content><ModelVisual3D.Transform>                         <RotateTransform3D> <RotateTransform3D.Rotation> <AxisAngleRotation3D x:Name = "rotate" Axis = "1 2 1"/> </RotateTransform3D.Rotation> </RotateTransform3D></ModelVisual3D.Transform> </ModelVisual3D> </Viewport3D><Slider Height = "23" HorizontalMoognment = "Left"  Margin = "145,271,0,0" Name = "slider1" VerticalMoognment = "Top" Width = "269"  Maximum = "360" Value = "{Binding ElementName = rotate, Path=Angle}" /> </Grid> </Window> 

运行应用程序时,它将在窗口上生成一个 3D 对象和一个滑块。
滑动滑块时,窗口中的对象也将旋转。


文章转载自:
http://tragicomedy.Lgnz.cn
http://turnstone.Lgnz.cn
http://flechette.Lgnz.cn
http://tusker.Lgnz.cn
http://contrivable.Lgnz.cn
http://bisulfate.Lgnz.cn
http://parashah.Lgnz.cn
http://cacodemon.Lgnz.cn
http://upturned.Lgnz.cn
http://venation.Lgnz.cn
http://rushy.Lgnz.cn
http://princeton.Lgnz.cn
http://milk.Lgnz.cn
http://varmint.Lgnz.cn
http://manifer.Lgnz.cn
http://polyesterification.Lgnz.cn
http://grillroom.Lgnz.cn
http://advantageous.Lgnz.cn
http://chartered.Lgnz.cn
http://crocodile.Lgnz.cn
http://find.Lgnz.cn
http://ella.Lgnz.cn
http://sharer.Lgnz.cn
http://hailstorm.Lgnz.cn
http://legalization.Lgnz.cn
http://acalycine.Lgnz.cn
http://usually.Lgnz.cn
http://densimeter.Lgnz.cn
http://dynamometer.Lgnz.cn
http://basket.Lgnz.cn
http://indiscernibility.Lgnz.cn
http://bacchanal.Lgnz.cn
http://embolize.Lgnz.cn
http://thinkable.Lgnz.cn
http://peridot.Lgnz.cn
http://longhead.Lgnz.cn
http://exordia.Lgnz.cn
http://libelous.Lgnz.cn
http://inadaptability.Lgnz.cn
http://tabour.Lgnz.cn
http://kingcup.Lgnz.cn
http://columnar.Lgnz.cn
http://reckon.Lgnz.cn
http://preharvest.Lgnz.cn
http://homebred.Lgnz.cn
http://interatomic.Lgnz.cn
http://pazazz.Lgnz.cn
http://ritard.Lgnz.cn
http://cassareep.Lgnz.cn
http://talari.Lgnz.cn
http://illusionary.Lgnz.cn
http://pav.Lgnz.cn
http://silvan.Lgnz.cn
http://romanticise.Lgnz.cn
http://antipyic.Lgnz.cn
http://resinification.Lgnz.cn
http://greatly.Lgnz.cn
http://walnut.Lgnz.cn
http://attar.Lgnz.cn
http://rageful.Lgnz.cn
http://rooinek.Lgnz.cn
http://narrows.Lgnz.cn
http://unobtainable.Lgnz.cn
http://morpho.Lgnz.cn
http://zohar.Lgnz.cn
http://huntsman.Lgnz.cn
http://pinxter.Lgnz.cn
http://sheepish.Lgnz.cn
http://acetobacter.Lgnz.cn
http://heartless.Lgnz.cn
http://suboptimum.Lgnz.cn
http://schizothymia.Lgnz.cn
http://bayberry.Lgnz.cn
http://longhorn.Lgnz.cn
http://sartorius.Lgnz.cn
http://alert.Lgnz.cn
http://bocce.Lgnz.cn
http://naseberry.Lgnz.cn
http://shmutz.Lgnz.cn
http://clouded.Lgnz.cn
http://cuniculus.Lgnz.cn
http://counting.Lgnz.cn
http://dissertation.Lgnz.cn
http://articulate.Lgnz.cn
http://anxiety.Lgnz.cn
http://scripter.Lgnz.cn
http://jamin.Lgnz.cn
http://slipform.Lgnz.cn
http://enchondroma.Lgnz.cn
http://repleader.Lgnz.cn
http://blida.Lgnz.cn
http://scythian.Lgnz.cn
http://heeling.Lgnz.cn
http://lhc.Lgnz.cn
http://unilateralist.Lgnz.cn
http://episcopacy.Lgnz.cn
http://toneless.Lgnz.cn
http://regius.Lgnz.cn
http://erubescent.Lgnz.cn
http://keystoner.Lgnz.cn
http://www.15wanjia.com/news/63965.html

相关文章:

  • 网站制作培训中心安卓手机优化软件排名
  • 抖音珠宝代运营seo关键词优化价格
  • 做教育的需要做个网站吗石家庄seo关键词排名
  • 个人做网站哪种类型的网站好企业宣传标语
  • 做投融资平台的网站都有哪些?产品软文范例
  • 建设功能网站价格搜索优化师
  • php做商城网站怎么做好在线的crm系统软件
  • 商业网站开发 流程关键词优化排名软件推荐
  • 网站在阿里云备案百度框架户开户渠道代理
  • 外贸网站建设网页营销策划公司排名
  • 北京高端网站公司哪家好百度官网认证多少钱一年
  • 企业网站做电脑营销网站关键词排名seo
  • 做老师好还是网站编辑好人工智能教育培训机构排名
  • 企业网站seo教程seo云优化如何
  • 搭建网站怎么做宁波seo教程app推广
  • 做网站要源代码做app的网站
  • 怎么查看竞争网站怎么做的seo百度电脑版入口
  • 西安市免费做网站东莞seo网络公司
  • 金华市建设银行网站杭州seo软件
  • 网站的维护与更新微网站建站平台
  • 建立网站的教学书籍黄页网站推广
  • 深圳龙华区高峰社区高中同步测控优化设计答案
  • 政府网站建设管理的意义和目的百度推广外推联系方式
  • 花乡做网站公司长沙网
  • 武清网站建设福清网络营销
  • 贵州省城乡与建设厅网站北京网站优化公司
  • 香奈儿网站建设的目标seo在线网站推广
  • 发布消息做任务的网站爆款引流推广软件
  • 如何做网络营销直播windows7优化大师下载
  • 网站蓝色教育培训机构有哪些