RefractionIO Struct Reference
[Data Structures]

List of all members.

Public Member Functions

 RefractionIO ()

Public Attributes

TMCColorRGBA fResColor
 result color
boolean fGotColor
 true if there was a reflection
boolean fNormalFlipped
 true if the normal was flipped
real fDistance
 the distance to the nearest intersection (used for absorption)
TVector3 fRefractedDir
 direction of the refracted ray (normalized)
const TTransparencyParametersfTransparencyParams
 the parameters from the transparency shader
real fRefractiveIndex
 index of refraction
real fAttenuation
 attenutation due to shading

Detailed Description

The parameters of the refraction feature.


Constructor & Destructor Documentation

RefractionIO::RefractionIO (  )  [inline]

Member Data Documentation

attenutation due to shading

the distance to the nearest intersection (used for absorption)

true if there was a reflection

true if the normal was flipped

direction of the refracted ray (normalized)

index of refraction

result color

the parameters from the transparency shader


The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 22:47:53 2010 for Carrara SDK Doc by  doxygen 1.6.3