共用方式為


Printing3DMaterial 類別

定義

表示 3D 模型中的所有材質資源。

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

Windows 需求

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

備註

Printing3DMaterial 類別大致對應到 3D 製造格式 (3MF) 規格中的 <resources> 元素。 如需詳細資訊,請參閱 3MF 規格

建構函式

Printing3DMaterial()

建立 Printing3DMaterial 類別的實例。

屬性

BaseGroups

取得 3D 模型中使用的所有基底材質群組。

ColorGroups

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

CompositeGroups

取得 3D 模型中使用的所有複合材質群組。

MultiplePropertyGroups

取得 3D 模型中使用的所有多重屬性群組。

Texture2CoordGroups

取得 3D 模型中使用的所有 2D 紋理材質群組。

適用於