Extends IDaylightSystem2 with new functionality This interface can only be obtained from an already existent daylight system, from the base object of the daylight assembly:
Object* daylightAssemblyObj = ... BaseInterface* bi = daylightAssemblyObj->GetInterface(IID_DAYLIGHT_SYSTEM3); IDaylightSystem3* ds = dynamic_cast<IDaylightSystem3*>(bi);
#include <IDaylightSystem.h>

Public Member Functions |
|
| virtual void | GetAltAz (TimeValue t, float &altitude, float &azimuth)=0 |
| Get the alititude and the azimuth angles of
the sun at that particular time. |
|
| virtual void GetAltAz | ( | TimeValue | t, |
| float & | altitude, | ||
| float & | azimuth | ||
| ) | [pure virtual] |
Get the alititude and the azimuth angles of the sun at that particular time.
| [in] | t | The time at which to get the alitude and azimuth of the sun. |
| [out] | altitude | The angle of the sun above the horizon. In radians, ranges from 0 at the horizon to PI/2 at the zenith. |
| [out] | azimuth | The angle of the sun about north. In radians, ranges from 0 at due north, PI/2 at due east, etc.. |