3ds Max C++ API 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

◆ DAYLIGHT_CONTROLLED_LIGHT_SYSTEM

#define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM   Interface_ID(0x257c2747, 0x78cf4e71)

Interface id for the Daylight Controlled Light System.

◆ IDCLS_ILLEGAL_VALUE

#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
IDaylightControlledLightSystem * daylightControlled = dynamic_cast<IDaylightControlledLightSystem *>(interface);
CoreExport FPInterface * GetInterface(SClass_ID super, Class_ID cls, Interface_ID id)
Get ID'd interface from ClassDesc for given class/sclass.
#define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM
Interface id for the Daylight Controlled Light System.
Definition: IDaylightControlledLightSystem.h:22
Definition: baseinterface.h:78
Definition: IDaylightControlledLightSystem.h:38
The object class is the base class for all objects.
Definition: object.h:1428