Partager via


specularConstant property

Specifies the diffuse refection constant used to calculate the effects of diffusion and reflection from a light source.

This property is read-only.

 

Syntax

HRESULT get_specularConstant(
  [out] SVGAnimatedNumber **ptr
);

Property values

Type: SVGAnimatedNumber

A non-negative number. If not specified, this defaults to 1.0.

Standards information

Remarks

The ISVGFESpecularLightingElement::specularConstant property specifies the ratio of reflection of the diffuse element of light from a light source. For more information, see Phong lighting model.