Public Member Functions | |
virtual boolean MCCOMAPI | GetGelValues (const TVector2 &gelScreenPosition, TMCColorRGB &result)=0 |
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.
virtual boolean MCCOMAPI I3DExLightsourceGel::GetGelValues | ( | const TVector2 & | gelScreenPosition, | |
TMCColorRGB & | result | |||
) | [pure virtual] |
Modifies the color of the light.
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.