LightWrap++
AC++wrapperfortheLightWave3DSDK
backdropinfo.h
Go to the documentation of this file.
1 #ifndef LWPP_BACKDROPINFO_H
2 #define LWPP_BACKDROPINFO_H
3 
4 #include <lwpp/wrapper.h>
5 #include <lwrender.h>
6 
7 namespace lwpp
8 {
10  class BackdropInfo : protected GlobalBase<LWBackdropInfo>
11  {
12  public:
16  void getBackdrop (LWTime t, const double ray[3], double color[3])
17  {
18  return globPtr->backdrop(t, ray, color);
19  }
20  int getType(){return globPtr->type;}
21  bool isSolid(){return (globPtr->type==LWBACK_SOLID);}
22  void getColor(LWTime t,double zenith[3], double sky[3],double ground[3], double nadir[3])
23  {
24  return globPtr->color(t,zenith,sky,ground,nadir);
25  }
26  void getSqueeze(LWTime t, double *sky, double *ground)
27  {
28  return globPtr->squeeze(t, sky, ground);
29  }
30  };
31 }
32 #endif //LWPP_BACKDROPINFO_H