Classes | Defines | Functions

naturalLight.h File Reference

#include "ifnpub.h"
#include "GetCOREInterface.h"
#include "Animatable.h"
#include "plugapi.h"

Go to the source code of this file.

Classes

class   INaturalLightClass
 

class INaturalLightClass: public BaseInterface

More...
class   NaturalLightClassBaseImp
class   ISunLight
  class ISunLight : public BaseInterface

More...
class   SkyLightEval
  class SkyLightEval : public BaseInterface

More...
class   ISkyLight
  class ISkyLight : public BaseInterface

More...
class   ISunLightPosition

Defines

#define  NATURAL_LIGHT_CLASS_INTERFACE_ID   Interface_ID(0x75985ea5, 0x115c2791)
#define  SUNLIGHT_INTERFACE_ID   Interface_ID(0x43b76ff2, 0x60ae0d61)
#define  SKYLIGHT_INTERFACE_ID   Interface_ID(0x47056297, 0x7f8b06e3)
#define  SUNLIGHT_POSITION_INTERFACE_ID   Interface_ID(0x6fa56707, 0x4ebe3d73)

Functions

INaturalLightClass GetNaturalLightClass (SClass_ID s, const Class_ID &id)
INaturalLightClass GetNaturalLightClass (Animatable *a)
INaturalLightClass GetNaturalLightClassInterface (ClassDesc *c)
ISunLight GetSunLightInterface (Animatable *o)
ISkyLight GetSkyLightInterface (Animatable *o)
ISunLightPosition GetSunLightPositionInterface (Animatable *o)

Define Documentation

#define NATURAL_LIGHT_CLASS_INTERFACE_ID   Interface_ID(0x75985ea5, 0x115c2791)

Definition at line 57 of file naturalLight.h.

#define SUNLIGHT_INTERFACE_ID   Interface_ID(0x43b76ff2, 0x60ae0d61)

Definition at line 140 of file naturalLight.h.

#define SKYLIGHT_INTERFACE_ID   Interface_ID(0x47056297, 0x7f8b06e3)

Definition at line 212 of file naturalLight.h.

#define SUNLIGHT_POSITION_INTERFACE_ID   Interface_ID(0x6fa56707, 0x4ebe3d73)

Definition at line 277 of file naturalLight.h.


Function Documentation

INaturalLightClass* GetNaturalLightClass ( SClass_ID  s,
const Class_ID id 
) [inline]

Definition at line 112 of file naturalLight.h.

INaturalLightClass* GetNaturalLightClass ( Animatable a ) [inline]

Definition at line 117 of file naturalLight.h.

{
    return a == NULL ? NULL
        : GetNaturalLightClass(a->SuperClassID(), a->ClassID());
}
INaturalLightClass* GetNaturalLightClassInterface ( ClassDesc c ) [inline]
ISunLight* GetSunLightInterface ( Animatable o ) [inline]

Definition at line 163 of file naturalLight.h.

{
    return static_cast<ISunLight*>(o->GetInterface(SUNLIGHT_INTERFACE_ID));
}
ISkyLight* GetSkyLightInterface ( Animatable o ) [inline]

Definition at line 271 of file naturalLight.h.

{
    return static_cast<ISkyLight*>(o->GetInterface(SKYLIGHT_INTERFACE_ID));
}
ISunLightPosition* GetSunLightPositionInterface ( Animatable o ) [inline]