Printing3DCompositeMaterialGroup クラス

定義

複合材料のグループを表します。

public ref class Printing3DCompositeMaterialGroup sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroupFactory, 65536, Windows.Graphics.Printing3D.Printing3DContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Printing3DCompositeMaterialGroup final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroupFactory, 65536, "Windows.Graphics.Printing3D.Printing3DContract")]
class Printing3DCompositeMaterialGroup final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroupFactory), 65536, typeof(Windows.Graphics.Printing3D.Printing3DContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Printing3DCompositeMaterialGroup
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Printing3D.IPrinting3DCompositeMaterialGroupFactory), 65536, "Windows.Graphics.Printing3D.Printing3DContract")]
public sealed class Printing3DCompositeMaterialGroup
function Printing3DCompositeMaterialGroup(MaterialGroupId)
Public NotInheritable Class Printing3DCompositeMaterialGroup
継承
Object Platform::Object IInspectable Printing3DCompositeMaterialGroup
属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Graphics.Printing3D.Printing3DContract (v1.0 で導入)

注釈

各複合材料は、指定された基材 グループ (MaterialGroupId) にリストされている基材の混合物によって定義されます。 その材料グループから使用可能なベースマテリアルのインデックス値は、 MaterialIndices で指定されています。 各混合物は、各基材の混合物全体の割合 (0 から 1 の間の値) を一覧表示することによって定義されます。 ベースマテリアルの混合物は 複合で指定され、比率の値は MaterialIndices の基材と同じ順序で指定されます。

このクラスは、 <compositematerials> 3D 製造形式 (3MF) 仕様の要素に対応します。 詳細については、 3MF 仕様に関するページを参照してください。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1607 14393 BaseMaterialGroup

コンストラクター

Printing3DCompositeMaterialGroup(UInt32)

Printing3DCompositeMaterialGroup クラスのインスタンスを作成します。

プロパティ

BaseMaterialGroup

Printing3DBaseMaterial メンバーを使用して複合材料を作成する既存の Printing3DBaseMaterialGroup を取得します。

Composites

個々の複合材料を定義する混合物の一覧を取得します。 各混合物は、各基材の全体の混合物の割合 (0 から 1 の間の値) を一覧表示することによって定義されます。ここで、比率の値は MaterialIndices の基材と同じ順序で指定されます。

MaterialGroupId

複合材料グループで使用される材料を定義するベース マテリアル グループの識別子 (ID) を取得します。

MaterialIndices

グループ内の複合材料を作成するために使用される基本材料の順序付きリストを取得します。 基材の順序は、複合材料によって定義された混合値に保持 されます

適用対象