Click or drag to resize

MaterialInvisibleWithSpecularProperties Method

Gets a new instance of this material with the specular properties set to the provided values.

Namespace: Altaxo.Drawing.D3D.Material
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public IMaterial WithSpecularProperties(
	double smoothness,
	double metalness,
	double indexOfRefraction
)

Parameters

smoothness  Double
The surface smoothness in the range [0, 1].
metalness  Double
The surface metalness in the range [0, 1].
indexOfRefraction  Double
The index of refraction of the material.

Return Value

IMaterial
A new instance of this material with the specular properties set to the provided values.

Implements

IMaterialWithSpecularProperties(Double, Double, Double)
See Also