aboutsummaryrefslogtreecommitdiff
path: root/tool_src/QvLib/QvPointLight.h
blob: 09008bfbc13757e2e90ebc6eeae31020baef1311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef  _QV_POINT_LIGHT_
#define  _QV_POINT_LIGHT_

#include <QvSFBool.h>
#include <QvSFColor.h>
#include <QvSFFloat.h>
#include <QvSFVec3f.h>
#include <QvSubNode.h>

class QvPointLight : public QvNode {

    QV_NODE_HEADER(QvPointLight);

  public:
    // Fields
    QvSFBool		on;		// Whether light is on
    QvSFFloat		intensity;	// Source intensity (0 to 1)
    QvSFColor		color;		// RGB source color
    QvSFVec3f		location;	// Source location
};

#endif /* _QV_POINT_LIGHT_ */