Logo Search packages:      
Sourcecode: blender version File versions  Download package

ntlLightObject Class Reference

#include <ntl_lighting.h>

List of all members.

Detailed Description

Basic object for lights, all other light are derived from this one

Definition at line 30 of file ntl_lighting.h.

Public Member Functions

bool getActive () const
bool getCastShadows () const
ntlColor getColor () const
ntlVec3Gfx getPosition () const
const ntlColor getShadedColor (const ntlRay &reflectedray, ntlVec3Gfx lightDir, ntlMaterial *surf, ntlColor &highlight) const
virtual ntlColor illuminatePoint (ntlRay &reflectedRay, ntlGeometryObject *closest, ntlColor &highlight)
 ntlLightObject (ntlRenderGlobals *glob, const ntlColor &col)
 ntlLightObject (ntlRenderGlobals *glob)
virtual void prepare (bool)
void setActive (bool set)
void setCastShadows (bool set)
void setColor (ntlColor set)
void setPosition (ntlVec3Gfx set)
virtual ~ntlLightObject ()

Protected Attributes

bool mActive
bool mCastShadows
ntlColor mcColor
ntlVec3Gfx mvPosition

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index