Printing3DFaceReductionOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供有关 Printing3DModel 类中的 TryReduceFacesAsync 方法的其他信息
public ref class Printing3DFaceReductionOptions sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Graphics.Printing3D.Printing3DContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Printing3DFaceReductionOptions final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Graphics.Printing3D.Printing3DContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Printing3DFaceReductionOptions
function Printing3DFaceReductionOptions()
Public NotInheritable Class Printing3DFaceReductionOptions
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10 Anniversary Edition (在 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
|
API contract |
Windows.Graphics.Printing3D.Printing3DContract (在 v3.0 中引入)
|
注解
此 API 设计用于 3D 制造格式 (3MF) 包。 有关 3MF 的详细信息,请参阅 3MF 规范。
构造函数
Printing3DFaceReductionOptions() |
属性
MaxEdgeLength |
设置可通过 TryReduceFacesAsync 方法合并共享该边缘的三角形的最大长度。 如果设置为零,则使用内置默认值。 |
MaxReductionArea |
设置三角形的区域,上述三角形不能通过 TryReduceFacesAsync 方法合并。 如果设置为零,则使用内置默认值。 |
TargetTriangleCount |
设置网格上所需的三角形数。 如果三角形计数小于或等于此数字, TryReduceFacesAsync 方法将停止合并人脸。 如果设置为零,则算法将运行,直到三角形数减少一半。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈