Printing3DFaceReductionOptions 类

定义

提供有关 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
继承
Object Platform::Object IInspectable 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()

创建 Printing3DFaceReductionOptions 类的 实例。

属性

MaxEdgeLength

设置可通过 TryReduceFacesAsync 方法合并共享该边缘的三角形的最大长度。 如果设置为零,则使用内置默认值。

MaxReductionArea

设置三角形的区域,上述三角形不能通过 TryReduceFacesAsync 方法合并。 如果设置为零,则使用内置默认值。

TargetTriangleCount

设置网格上所需的三角形数。 如果三角形计数小于或等于此数字, TryReduceFacesAsync 方法将停止合并人脸。 如果设置为零,则算法将运行,直到三角形数减少一半。

适用于