Printing3DMesh Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a mesh in the 3D model.
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
- Inheritance
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Graphics.Printing3D.Printing3DContract (introduced in v1.0)
|
Remarks
The Printing3DMesh class corresponds to the <mesh>
element in the 3D Manufacturing Format (3MF) specification. For more info, see the 3MF Specification.
Constructors
Printing3DMesh() |
Creates an instance of the Printing3DMesh class. |
Properties
BufferDescriptionSet |
Gets a set of mesh buffer descriptions. |
BufferSet |
Gets a set of mesh buffers. |
IndexCount |
Gets or sets the number of triangle indices. |
TriangleIndicesDescription |
Gets or sets the buffer description for triangle indices. |
TriangleMaterialIndicesDescription |
Gets or sets the buffer description for triangle material indices. |
VertexCount |
Gets or sets the number of triangle vertices. |
VertexNormalsDescription |
Gets or sets the buffer description for vertex normals. |
VertexPositionsDescription |
Gets or sets the buffer description for vertex positions. |
Methods
CreateTriangleIndices(UInt32) |
Creates the buffer for triangle indices. |
CreateTriangleMaterialIndices(UInt32) |
Creates the buffer for triangle material indices. |
CreateVertexNormals(UInt32) |
Creates the buffer for vertex normals. |
CreateVertexPositions(UInt32) |
Creates the buffer for vertex positions. |
GetTriangleIndices() |
Gets the buffer for triangle indices. |
GetTriangleMaterialIndices() |
Gets the buffer for triangle material indices. |
GetVertexNormals() |
Gets the buffer for vertex normals. |
GetVertexPositions() |
Gets the buffer for vertex positions. |
VerifyAsync(Printing3DMeshVerificationMode) |
Verifies the mesh has manifold edges and normal triangles. |