Inheritance diagram for I3DShAmbientLight:

Public Member Functions | |
| virtual void MCCOMAPI | GetScene (I3DShScene **scene)=0 |
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.
To access the ambient light, you should use I3DShScene::GetAmbientLightColor() to make sure that it is properly validated.
|
|
Returns the scene that contains this ambient light. |
1.3.9.1