Click or drag to resize

IMaterialWithColor Method

Gets a new instance of this material with the color set to the provided values. Material classes that don't support color should not throw an exception, but simply return the same instance.

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
IMaterial WithColor(
	NamedColor color
)

Parameters

color  NamedColor
The color.

Return Value

IMaterial
A new instance of this material with the color set to the provided values.
See Also