共用方式為


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中列出的材質群組相同。

適用於