I3DExLightsourceGel Struct Reference
[External Interfaces]

Inheritance diagram for I3DExLightsourceGel:
IMCUnknown TBasicGel

List of all members.

Public Member Functions

virtual boolean MCCOMAPI GetGelValues (const TVector2 &gelScreenPosition, TMCColorRGB &result)=0

Detailed Description

The user can combine lights with gels to make additional lighting effects (see the I3DExLightsource interface to learn more about lights). A Gel can be thought of as a colored filter placed in front of a light source to modify the color and intensity of the light beam.


Member Function Documentation

virtual boolean MCCOMAPI I3DExLightsourceGel::GetGelValues ( const TVector2 gelScreenPosition,
TMCColorRGB result 
) [pure virtual]

Modifies the color of the light.

Parameters:
gelScreenPosition The position in the gel [0,1]x[0,1]
result On Enter, it contains the light emitted from the light source. On Exit, it contains the color of light filtered by the gel.

Implemented in TBasicGel.


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