共用方式為


Printing3DColorMaterialGroup 類別

定義

表示 3D 模型中所使用的色彩材質群組。

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

Windows 需求

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

備註

Printing3DColorMaterialGroup 類別對應於 3D 製造格式 (3MF) 規格中的 <colorgroup> 元素。 如需詳細資訊,請參閱 3MF 規格

建構函式

Printing3DColorMaterialGroup(UInt32)

建立 Printing3DColorMaterialGroup 類別的實例。

屬性

Colors

取得 3D 模型中所使用的色彩材質群組。

MaterialGroupId

取得色彩材質群組的標識碼(ID)。

適用於