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值。
- 屬性
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值。
- 屬性
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值。
- 屬性
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 引進)
|