Classes | Defines

IDaylightControlledLightSystem.h File Reference

#include "BaseInterface.h"
#include "Maxtypes.h"
#include "IDaylightSystem.h"

Go to the source code of this file.

Classes

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

Defines

#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.

Define Documentation

#define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM   Interface_ID(0x257c2747, 0x78cf4e71)

Interface id for the Daylight Controlled Light System.

Definition at line 24 of file IDaylightControlledLightSystem.h.

#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
Object* skylight = // obtain a pointer to an object
BaseInterface* interface = daylightControlled->GetInterface(DAYLIGHT_CONTROLLED_LIGHT_SYSTEM);
IDaylightControlledLightSystem * daylightControlled = dynamic_cast<IDaylightControlledLightSystem *>(interface);

Definition at line 39 of file IDaylightControlledLightSystem.h.