Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterialSetSpecular(Single) Method

Sets SpecularPower to the specified value and SpecularColor to White. Method returns StandardMaterial so we can chain the calls to change material. This method can be used with materials defined in StandardMaterials class.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public StandardMaterial SetSpecular(
	float specularPower
)

Parameters

specularPower  Single
specularPower as float

Return Value

StandardMaterial

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Materials.StandardMaterial.SetSpecular(System.Single)"]

See Also