Printing3DCompositeMaterial Class

Definition

Represents a composite material that's defined by a mixture of base materials.

public ref class Printing3DCompositeMaterial 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 Printing3DCompositeMaterial 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 Printing3DCompositeMaterial 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 Printing3DCompositeMaterial
[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 Printing3DCompositeMaterial
function Printing3DCompositeMaterial()
Public NotInheritable Class Printing3DCompositeMaterial
Inheritance
Object Platform::Object IInspectable Printing3DCompositeMaterial
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

Each composite material is defined by a mixture of base materials that are listed in the specified base material group (MaterialGroupId). The index values of possible base materials from that material group are specified in MaterialIndices. Each mixture is defined by listing the proportion of the overall mixture for each base material (values between 0 and 1). The mixtures of base materials are specified in Composites, where the proportion values are specified in the same order as the base materials in MaterialIndices.

This class corresponds to the <composite> element in the 3D Manufacturing Format (3MF) specification. For more info, see the 3MF Specification.

Constructors

Printing3DCompositeMaterial()

Creates an instance of the Printing3DCompositeMaterial class.

Properties

Values

Gets the mixture of base materials used in the composite material. Each mixture is defined by listing the proportion of the overall mixture for each base material (values between 0 and 1).

Applies to