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 メソッドを使用して、エッジを共有する三角形をマージできるエッジの最大長を設定します。 0 に設定すると、組み込みの既定値が使用されます。

MaxReductionArea

上記の三角形を TryReduceFacesAsync メソッドを使用してマージできない三角形の領域を設定します。 0 に設定すると、組み込みの既定値が使用されます。

TargetTriangleCount

メッシュ上の三角形の数を設定します。 三角形の数がこの数値以下の場合、 TryReduceFacesAsync メソッドは顔の結合を停止します。 0 に設定すると、三角形の数が半分に減るまでアルゴリズムが実行されます。

適用対象