Printing3DCompositeMaterial 类

定义

表示由基材料混合定义的复合材料。

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

Windows 要求

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

注解

每个复合材料由指定基材料组(MaterialGroupId)中列出的基材料混合定义。 MaterialIndices中指定了可能基材料组的索引值。 每个混合物通过列出每个基材料的总体混合物的比例(值介于 0 和 1 之间)来定义。 基材料混合物在 复合中指定,其中比例值与 MaterialIndices中基材料的顺序相同。

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

构造函数

Printing3DCompositeMaterial()

创建 Printing3DCompositeMaterial 类的实例。

属性

Values

获取复合材料中使用的基材料混合物。 每个混合物通过列出每个基材料的总体混合物的比例(值介于 0 和 1 之间)来定义。

适用于