I3DExAmbientLight Struct Reference
[External Interfaces]

Inheritance diagram for I3DExAmbientLight:
IMCUnknown TBasicAmbient

List of all members.

Public Member Functions

virtual MCCOMErr MCCOMAPI GetColor (TMCColorRGB *resultColor)=0

Detailed Description

This is the interface for ambient light plugins. An ambient light is a light that shines in every direction and this does not cast any shadows.

There are two interfaces to access a component: The shell interface (ISh. or I3DSh.) and the external interface (IEx. or I3DEx.) . You can get one from the other using QueryInterface.

Whenever it is possible you should use the Shell interface to access the component because the Shell will make sure that the parameter map of the external component is valid. This is especially important if the component is animated. For more information on components see the Overview of the SDK.


Member Function Documentation

virtual MCCOMErr MCCOMAPI I3DExAmbientLight::GetColor ( TMCColorRGB resultColor  )  [pure virtual]

Returns the color of the ambient light.

Parameters:
resultColor A pointer to the color returned.

Implemented in TBasicAmbient.


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