共用方式為


Printing3DMultiplePropertyMaterial 類別

定義

表示中指定之材質群組的屬性和/或材質組合(MaterialGroupIndices)。

public ref class Printing3DMultiplePropertyMaterial 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 Printing3DMultiplePropertyMaterial 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 Printing3DMultiplePropertyMaterial 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 Printing3DMultiplePropertyMaterial
[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 Printing3DMultiplePropertyMaterial
function Printing3DMultiplePropertyMaterial()
Public NotInheritable Class Printing3DMultiplePropertyMaterial
繼承
Object Platform::Object IInspectable Printing3DMultiplePropertyMaterial
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Graphics.Printing3D.Printing3DContract (已於 v1.0 引進)

備註

每個多重屬性材質都是由指定之材質群組中所列的屬性和/或材質組合來定義(MaterialGroupIndices)。 每個組合都是藉由列出一個材質群組的專案索引,以及次要材質群組的專案索引來定義。 這些組合是在 MultipleProperties中指定,其中索引值的順序與 MaterialGroupIndices中列出的材料群組相同。

這個類別對應於 3D 製造格式 (3MF) 規格中的 <multi> 專案。 如需詳細資訊,請參閱 3MF 規格

建構函式

Printing3DMultiplePropertyMaterial()

建立 Printing3DMultiplePropertyMaterial 類別的實例。

屬性

MaterialIndices

取得多重屬性材質中結合之屬性和/或材質的索引。 每個組合都是藉由列出一個材質群組的專案索引,以及次要材質群組的專案索引來定義。 索引值的順序與 MaterialGroupIndices中列出的材質群組相同。

適用於