TShadingApproximation Class Reference

List of all members.

Public Member Functions

void Init (void)

Public Attributes

TMCColorRGB fDiffuseColor
TMCColorRGB fEmissiveColor
TMCColorRGB fAmbientColor
TMCColorRGB fSpecularColor
real fSpecularIntensity
real fSpecularCoeff
real fOpacity
TMCColorRGB fReflection
uint32 fShaderChangeCounter


Detailed Description

This class represents an approximation to the basic shader properties for an object. Use the diffuse color when a single representative color is desired.

Member Function Documentation

void TShadingApproximation::Init ( void   )  [inline]


Member Data Documentation

TMCColorRGB TShadingApproximation::fDiffuseColor

TMCColorRGB TShadingApproximation::fEmissiveColor

TMCColorRGB TShadingApproximation::fAmbientColor

TMCColorRGB TShadingApproximation::fSpecularColor

real TShadingApproximation::fSpecularIntensity

real TShadingApproximation::fSpecularCoeff

real TShadingApproximation::fOpacity

TMCColorRGB TShadingApproximation::fReflection

uint32 TShadingApproximation::fShaderChangeCounter

this is an incrementing counter advanced each time the surface changes the counter is used by the renderer to determine whether it's local cache is invalid


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 15:19:34 2007 for Carrara SDK Doc by  doxygen 1.5.3