Click or drag to resize

MaterialsGetMaterialWithNewColor Method

Creates a material equivalent to the specified material but with a different color.

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IMaterial GetMaterialWithNewColor(
	IMaterial material,
	NamedColor newColor
)

Parameters

material  IMaterial
The material to copy.
newColor  NamedColor
The replacement color.

Return Value

IMaterial
A material with the updated color.
See Also