共用方式為


Printing3DMesh 類別

定義

表示 3D 模型中的網格。

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

Windows 需求

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

備註

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

建構函式

Printing3DMesh()

建立 Printing3DMesh 類別的實例。

屬性

BufferDescriptionSet

取得一組網格緩衝區描述。

BufferSet

取得一組網格緩衝區。

IndexCount

取得或設定三角形索引的數目。

TriangleIndicesDescription

取得或設定三角形索引的緩衝區描述。

TriangleMaterialIndicesDescription

取得或設定三角形材質索引的緩衝區描述。

VertexCount

取得或設定三角形頂點的數目。

VertexNormalsDescription

取得或設定頂點法線的緩衝區描述。

VertexPositionsDescription

取得或設定頂點位置的緩衝區描述。

方法

CreateTriangleIndices(UInt32)

建立三角形索引的緩衝區。

CreateTriangleMaterialIndices(UInt32)

建立三角形材質索引的緩衝區。

CreateVertexNormals(UInt32)

建立頂點法線的緩衝區。

CreateVertexPositions(UInt32)

建立頂點位置的緩衝區。

GetTriangleIndices()

取得三角形索引的緩衝區。

GetTriangleMaterialIndices()

取得三角形材質索引的緩衝區。

GetVertexNormals()

取得頂點法線的緩衝區。

GetVertexPositions()

取得頂點位置的緩衝區。

VerifyAsync(Printing3DMeshVerificationMode)

確認網格具有管理邊緣和一般三角形。

適用於