最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
DirectX9 3D 快速上手 7
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
public void WeldVertices (
Microsoft.DirectX.Direct3D.WeldEpsilonsFlags flags ,//标志
Microsoft.DirectX.Direct3D.WeldEpsilons epsilons ,
Microsoft.DirectX.Direct3D.GraphicsStream adjacencyIn ,
Microsoft.DirectX.Direct3D.GraphicsStream adjacencyOut ,
out int[] faceRemap ,
Microsoft.DirectX.Direct3D.GraphicsStream vertexRemap )
这个方法能实现简化模型的目的,前2个参数用来确定怎么简化模型,
第一个标志一共包括以下几个:
Member
Value
Description
DoNotSplit
8
Instructs the weld to allow vertices to be modified only, not removed. This flag is valid only if WeldPartialMatches is set. It is useful to modify vertices so that they are equal, but not to allow vertices to be removed.
只有当WeldPartialMatches参数指定时才能生效,不允许分离定点
DoNotRemoveVertices
4
Instructs the weld to allow vertices to be modified only, not removed. This flag is valid only if WeldPartialMatches is set. It is useful to modify vertices to be equal, but not to allow vertices to be removed.
只有当WeldPartialMatches参数指定时才能生效,不能移除定点,只能修改
WeldPartialMatches
2
If a given vertex component is within epsilon, instructs the weld to modify partially matched vertices so that both components are equal. If all components are equal, one of the vertices is removed.
-
上一个: 任意指定透明色的绘图方法
-
下一个: 在Excel中建立自定义菜单项
相关文章
- C#复制数组的两种方式及效率比较解读 10-24
- ASP.NET Identity用法解析 10-24
- ASP.NET MVC使用Identity增删改查用户介绍 10-24
- C语言中atoi函数模拟实现介绍 10-18
- .Net反向代理组件Yarp用法介绍 10-10
- .NET使用YARP通过编码方式配置域名转发实现反向代理教程 10-10