共用方式為


Printing3DColorMaterial 類別

定義

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

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

Windows 需求

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

備註

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

版本歷程記錄

Windows 版本 SDK 版本 增加值
1511 10586 顏色

建構函式

Printing3DColorMaterial()

建立 Printing3DColorMaterial 類別的實例。

屬性

Color

取得或設定材質的色彩。

Value

取得或設定材質的色彩值。

適用於