Printing3DModel.TryReduceFacesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TryReduceFacesAsync() |
运行一种算法,该算法通过合并附近的顶点来减少 Printing3DModel 内所有网格中三角形面的数量。 当三角形总数减少一半时停止。 |
TryReduceFacesAsync(Printing3DFaceReductionOptions) |
运行一种算法,该算法通过合并附近的顶点来减少 Printing3DModel 内所有网格中三角形面的数量。 根据指定的选项停止。 |
TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan) |
运行一种算法,该算法通过合并附近的顶点来减少 Printing3DModel 内所有网格中三角形面的数量。 根据指定的选项或达到 maxWait 时间时停止。 |
TryReduceFacesAsync()
运行一种算法,该算法通过合并附近的顶点来减少 Printing3DModel 内所有网格中三角形面的数量。 当三角形总数减少一半时停止。
public:
virtual IAsyncOperationWithProgress<bool, double> ^ TryReduceFacesAsync() = TryReduceFacesAsync;
/// [Windows.Foundation.Metadata.Overload("TryReduceFacesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<bool, double> TryReduceFacesAsync();
[Windows.Foundation.Metadata.Overload("TryReduceFacesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<bool,double> TryReduceFacesAsync();
function tryReduceFacesAsync()
Public Function TryReduceFacesAsync () As IAsyncOperationWithProgress(Of Boolean, Double)
返回
IAsyncOperationWithProgress<bool,double>
一个 布尔 值,指示异步操作是否成功,以及一个 Double 值,将进度报告为介于零和 1 之间的十进制数。
- 属性
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 中引入)
|
另请参阅
- TryReduceFacesAsync(Printing3DFaceReductionOptions)
- TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan)
适用于
TryReduceFacesAsync(Printing3DFaceReductionOptions)
运行一种算法,该算法通过合并附近的顶点来减少 Printing3DModel 内所有网格中三角形面的数量。 根据指定的选项停止。
public:
virtual IAsyncOperationWithProgress<bool, double> ^ TryReduceFacesAsync(Printing3DFaceReductionOptions ^ printing3DFaceReductionOptions) = TryReduceFacesAsync;
/// [Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<bool, double> TryReduceFacesAsync(Printing3DFaceReductionOptions const& printing3DFaceReductionOptions);
[Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<bool,double> TryReduceFacesAsync(Printing3DFaceReductionOptions printing3DFaceReductionOptions);
function tryReduceFacesAsync(printing3DFaceReductionOptions)
Public Function TryReduceFacesAsync (printing3DFaceReductionOptions As Printing3DFaceReductionOptions) As IAsyncOperationWithProgress(Of Boolean, Double)
参数
- printing3DFaceReductionOptions
- Printing3DFaceReductionOptions
定义将触发操作结束的条件。
返回
IAsyncOperationWithProgress<bool,double>
一个 布尔 值,指示异步操作是否成功,以及一个 Double 值,将进度报告为介于零和 1 之间的十进制数。
- 属性
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 中引入)
|
另请参阅
适用于
TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan)
运行一种算法,该算法通过合并附近的顶点来减少 Printing3DModel 内所有网格中三角形面的数量。 根据指定的选项或达到 maxWait 时间时停止。
public:
virtual IAsyncOperationWithProgress<bool, double> ^ TryReduceFacesAsync(Printing3DFaceReductionOptions ^ printing3DFaceReductionOptions, TimeSpan maxWait) = TryReduceFacesAsync;
/// [Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAndTimeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<bool, double> TryReduceFacesAsync(Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, TimeSpan const& maxWait);
[Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAndTimeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<bool,double> TryReduceFacesAsync(Printing3DFaceReductionOptions printing3DFaceReductionOptions, System.TimeSpan maxWait);
function tryReduceFacesAsync(printing3DFaceReductionOptions, maxWait)
Public Function TryReduceFacesAsync (printing3DFaceReductionOptions As Printing3DFaceReductionOptions, maxWait As TimeSpan) As IAsyncOperationWithProgress(Of Boolean, Double)
参数
- printing3DFaceReductionOptions
- Printing3DFaceReductionOptions
定义将触发操作结束的条件。
返回
IAsyncOperationWithProgress<bool,double>
一个 布尔 值,指示异步操作是否成功,以及一个 Double 值,将进度报告为介于零和 1 之间的十进制数。
- 属性
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 中引入)
|