SpecularMaterial.Color Property


Gets or sets a value that filters the color properties of the material applied to the model.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public Color Color { get; set; }

Property Value

Type: System.Windows.Media.Color

The color with which to filter the material.

This property has the effect of filtering the material applied to the model by the color value specified. For example, setting this property to Colors.Red would occlude blue and green in the material.

Identifier field


Metadata properties set to true


<MaterialGroup x:Key="LeavesMaterial1">
      <ImageBrush Stretch="UniformToFill" ImageSource="sample_images\leaves_closeup.png" TileMode="None" ViewportUnits="Absolute" Viewport="0 0 1 1" AlignmentX="Left" AlignmentY="Top" Opacity="1.000000" />
  <SpecularMaterial SpecularPower="85.3333">
      <SolidColorBrush Color="#FFFFFF" Opacity="1.000000"/>

.NET Framework
Available since 3.0
Return to top