Printing3DMultiplePropertyMaterialGroup 类

定义

表示多属性材料组。

public ref class Printing3DMultiplePropertyMaterialGroup sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Printing3D.IPrinting3DMultiplePropertyMaterialGroupFactory, 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 Printing3DMultiplePropertyMaterialGroup 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.IPrinting3DMultiplePropertyMaterialGroupFactory, 65536, "Windows.Graphics.Printing3D.Printing3DContract")]
class Printing3DMultiplePropertyMaterialGroup final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Printing3D.IPrinting3DMultiplePropertyMaterialGroupFactory), 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 Printing3DMultiplePropertyMaterialGroup
[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.IPrinting3DMultiplePropertyMaterialGroupFactory), 65536, "Windows.Graphics.Printing3D.Printing3DContract")]
public sealed class Printing3DMultiplePropertyMaterialGroup
function Printing3DMultiplePropertyMaterialGroup(MaterialGroupId)
Public NotInheritable Class Printing3DMultiplePropertyMaterialGroup
继承
Object Platform::Object IInspectable Printing3DMultiplePropertyMaterialGroup
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Graphics.Printing3D.Printing3DContract (在 v1.0 中引入)

注解

每个多属性材料由指定材料组中列出的属性和/或材料的组合定义(MaterialGroupIndices)。 通过列出一个材料组中的项的索引以及辅助材料组中项的索引来定义每个组合。 这些组合在 MultipleProperties中指定,其中索引值的顺序与 MaterialGroupIndices中列出的材料组相同。

Printing3DMultiplePropertyMaterialGroup 类对应于 3D 制造格式(3MF)规范中的 <multiproperties> 元素。 有关详细信息,请参阅 3MF 规范

构造函数

Printing3DMultiplePropertyMaterialGroup(UInt32)

创建 Printing3DMultiplePropertyMaterialGroup 类的新实例。

属性

MaterialGroupId

获取多属性材料组的标识符(ID)。

MaterialGroupIndices

获取用于在多属性组中定义属性材料组合的材料组(MaterialGroupId 值)的有序列表。 材料组的顺序在 MultipleProperties定义的组合中维护。

MultipleProperties

获取属性材料组合的列表。 通过列出一个材料组中的项的索引以及辅助材料组中项的索引来定义每个组合。 索引值的顺序与 MaterialGroupIndices中列出的材料组相同。

适用于