Printing3DCompositeMaterial
Printing3DCompositeMaterial
Printing3DCompositeMaterial
Printing3DCompositeMaterial
Class
Definition
Represents a composite material that's defined by a mixture of base materials.
public : sealed class Printing3DCompositeMaterial : IPrinting3DCompositeMaterialpublic sealed class Printing3DCompositeMaterial : IPrinting3DCompositeMaterialPublic NotInheritable Class Printing3DCompositeMaterial Implements IPrinting3DCompositeMaterial// You can use this class in JavaScript.
- Attributes
| 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 <composite> element in the 3D Manufacturing Format (3MF) specification. For more info, see the 3MF Specification.
Constructors
Printing3DCompositeMaterial() Printing3DCompositeMaterial() Printing3DCompositeMaterial() Printing3DCompositeMaterial()
Creates an instance of the Printing3DCompositeMaterial class.
public : Printing3DCompositeMaterial()public Printing3DCompositeMaterial()Public Sub New()// You can use this method in JavaScript.
Properties
Values Values Values 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).
public : IVector<double> Values { get; }public IList<double> Values { get; }Public ReadOnly Property Values As IList<double>// You can use this property in JavaScript.
- Value
- IVector<double> IList<double> IList<double> IList<double>
The proportions of base materials used in the composite material (values between 0 and 1). Proportion values are specified in the same order as the base materials in MaterialIndices.