Printing3DCompositeMaterialGroup Printing3DCompositeMaterialGroup Printing3DCompositeMaterialGroup Printing3DCompositeMaterialGroup Class

Definition

Represents a group of composite materials.

public : sealed class Printing3DCompositeMaterialGroup : IPrinting3DCompositeMaterialGroup, IPrinting3DCompositeMaterialGroup2public sealed class Printing3DCompositeMaterialGroup : IPrinting3DCompositeMaterialGroup, IPrinting3DCompositeMaterialGroup2Public NotInheritable Class Printing3DCompositeMaterialGroup Implements IPrinting3DCompositeMaterialGroup, IPrinting3DCompositeMaterialGroup2// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced v1)

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 <compositematerials> element in the 3D Manufacturing Format (3MF) specification. For more info, see the 3MF Specification.

Constructors

Printing3DCompositeMaterialGroup(UInt32) Printing3DCompositeMaterialGroup(UInt32) Printing3DCompositeMaterialGroup(UInt32) Printing3DCompositeMaterialGroup(UInt32)

Creates an instance of the Printing3DCompositeMaterialGroup class.

public : Printing3DCompositeMaterialGroup(unsigned int MaterialGroupId)public Printing3DCompositeMaterialGroup(UInt32 MaterialGroupId)Public Sub New(MaterialGroupId As UInt32)// You can use this method in JavaScript.
Parameters
MaterialGroupId
unsigned int UInt32 UInt32 UInt32

The identifier (ID) of the composite material group; a value greater than zero.

Remarks

Set MaterialGroupId to a value greater than zero. A value of zero is not valid and triggers an E_INVALIADARG error.

Properties

BaseMaterialGroup BaseMaterialGroup BaseMaterialGroup BaseMaterialGroup

Gets the existing Printing3DBaseMaterialGroup whose Printing3DBaseMaterial members will be used to produce composite materials.

public : Printing3DBaseMaterialGroup BaseMaterialGroup { get; set; }public Printing3DBaseMaterialGroup BaseMaterialGroup { get; set; }Public ReadWrite Property BaseMaterialGroup As Printing3DBaseMaterialGroup// You can use this property in JavaScript.
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced v3)

Composites Composites Composites Composites

Gets an list of mixtures that define individual composite materials. Each mixture is defined by listing the proportion of the overall mixture for each base material (values between 0 and 1), where the proportion values are specified in the same order as the base materials in MaterialIndices.

public : IVector<Printing3DCompositeMaterial> Composites { get; }public IList<Printing3DCompositeMaterial> Composites { get; }Public ReadOnly Property Composites As IList<Printing3DCompositeMaterial>// You can use this property in JavaScript.
Value
IVector<Printing3DCompositeMaterial> IList<Printing3DCompositeMaterial> IList<Printing3DCompositeMaterial> IList<Printing3DCompositeMaterial>

A list of mixtures that define individual composite materials.

See Also

MaterialGroupId MaterialGroupId MaterialGroupId MaterialGroupId

Gets the identifier (ID) of the base material group that defines the materials used in the composite material group.

public : unsigned int MaterialGroupId { get; }public uint MaterialGroupId { get; }Public ReadOnly Property MaterialGroupId As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The ID of the base material group that defines the materials used in the composite material group.

MaterialIndices MaterialIndices MaterialIndices MaterialIndices

Gets an ordered list of base materials that are used to make the composite materials in the group. The order of base materials is maintained in the mixture values defined by Composites.

public : IVector<uint> MaterialIndices { get; }public IList<uint> MaterialIndices { get; }Public ReadOnly Property MaterialIndices As IList<uint>// You can use this property in JavaScript.
Value
IVector<unsigned int> IList<uint> IList<uint> IList<uint>

Index values of base materials from the base material group specified by MaterialGroupId.

See Also