Share via


Printing3DColorMaterialGroup Class

Definition

Represents a group of color materials used in the 3D model.

public ref class Printing3DColorMaterialGroup sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Printing3D.IPrinting3DColorMaterialGroupFactory, 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 Printing3DColorMaterialGroup 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(Windows.Graphics.Printing3D.IPrinting3DColorMaterialGroupFactory, 65536, "Windows.Graphics.Printing3D.Printing3DContract")]
class Printing3DColorMaterialGroup final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Printing3D.IPrinting3DColorMaterialGroupFactory), 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 Printing3DColorMaterialGroup
[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(typeof(Windows.Graphics.Printing3D.IPrinting3DColorMaterialGroupFactory), 65536, "Windows.Graphics.Printing3D.Printing3DContract")]
public sealed class Printing3DColorMaterialGroup
function Printing3DColorMaterialGroup(MaterialGroupId)
Public NotInheritable Class Printing3DColorMaterialGroup
Inheritance
Object Platform::Object IInspectable Printing3DColorMaterialGroup
Attributes

Windows requirements

Requirements Description
Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced in v1.0)

Remarks

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

Constructors

Name Description
Printing3DColorMaterialGroup(UInt32)

Creates an instance of the Printing3DColorMaterialGroup class.

Properties

Name Description
Colors

Gets a group of color materials used in the 3D model.

MaterialGroupId

Gets the identifier (ID) for the color material group.

Applies to