SpecularAttribute::SetSpecularExponent
Defined in:
Sets the specular exponent.
C4Attributes.hPrototype
void SetSpecularExponent(float exponent);
Parameters
exponent |
The new specular exponent. |
Description
The SetSpecularExponent function sets the specular exponent stored in a specular material attribute to the value given by the exponent parameter. A renderable object to which the affected attribute applies will not automatically be rendered using the new exponent. The change will only take effect once the Renderable::InvalidatePipelineData function has been called for the affected object.
