IDaylightControlledLightSystem.h File Reference
#define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM Interface_ID(0x257c2747, 0x78cf4e71) |
#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);