MaterialsGetMaterialWithNewColor Method |
Creates a material equivalent to the specified material but with a different color.
Namespace: Altaxo.Drawing.D3DAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static IMaterial GetMaterialWithNewColor(
IMaterial material,
NamedColor newColor
)
Parameters
- material IMaterial
- The material to copy.
- newColor NamedColor
- The replacement color.
Return Value
IMaterialA material with the updated color.
See Also