Printing3DColorMaterial Printing3DColorMaterial Printing3DColorMaterial Printing3DColorMaterial Class

Definition

Represents a color material used in the 3D model.

public : sealed class Printing3DColorMaterial : IPrinting3DColorMaterial, IPrinting3DColorMaterial2public sealed class Printing3DColorMaterial : IPrinting3DColorMaterial, IPrinting3DColorMaterial2Public NotInheritable Class Printing3DColorMaterial Implements IPrinting3DColorMaterial, IPrinting3DColorMaterial2// 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

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

Constructors

Printing3DColorMaterial() Printing3DColorMaterial() Printing3DColorMaterial() Printing3DColorMaterial()

Creates an instance of the Printing3DColorMaterial class.

public : Printing3DColorMaterial()public Printing3DColorMaterial()Public Sub New()// You can use this method in JavaScript.

Properties

Color Color Color Color

Gets or sets the color of the material.

public : Color Color { get; set; }public Color Color { get; set; }Public ReadWrite Property Color As Color// You can use this property in JavaScript.
Value
Color Color Color Color

The color of the material.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced v2)

Value Value Value Value

Gets or sets the color value of the material.

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

The color value of the material.