IDaylightControlledLightSystem.h File Reference

IDaylightControlledLightSystem.h File Reference
#include "BaseInterface.h"
#include "Maxtypes.h"
#include "IDaylightSystem.h"

Classes

class  IDaylightControlledLightSystem
 
struct  IDaylightControlledLightSystem::DaylightSimulationParams
 Set of parameters that may be fed by the daylight system to the controlled light. More...
 

Macros

#define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM   Interface_ID(0x257c2747, 0x78cf4e71)
 Interface id for the Daylight Controlled Light System. More...
 
#define IDCLS_ILLEGAL_VALUE   -9999.0f
 Interface for a Sun or Sky light that may be driven by the daylight system. More...
 

Macro Definition Documentation

#define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM   Interface_ID(0x257c2747, 0x78cf4e71)

Interface id for the Daylight Controlled Light System.

#define IDCLS_ILLEGAL_VALUE   -9999.0f

Interface for a Sun or Sky light that may be driven by the daylight system.

This class represents an interface to a light object, in almost all cases a Sun or Sky light that's contained in IDaylightSystem, that have it's illuminance or irradiance values be driven by the daylight system. By returning this interface, the light object says that it may get told whether or not it should query the IDaylightSystem2 interface when it needs illuminance or irradiance values.

See also
IDaylightSystem2
1 Object* skylight = // obtain a pointer to an object
2 BaseInterface* interface = daylightControlled->GetInterface(DAYLIGHT_CONTROLLED_LIGHT_SYSTEM);
3 IDaylightControlledLightSystem * daylightControlled = dynamic_cast<IDaylightControlledLightSystem *>(interface);