C4 Engine
C4 Engine API Documentation

SpecularAttribute::SetSpecularExponent

Defined in:  C4Attributes.h
Sets the specular exponent.
Prototype

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.