Public Member Functions | Protected Member Functions

cyber::world::lights::LightDesc Class Reference

#include <LightDesc.h>

Inheritance diagram for cyber::world::lights::LightDesc:
cyber::world::ObjectDesc cyber::world::lights::AmbientLightDesc cyber::world::lights::AttenuatedLightDesc cyber::world::lights::PointLightDesc cyber::world::lights::SpotLightDesc

List of all members.

Public Member Functions

unsigned long get_color () const
void set_color (unsigned long color)

Protected Member Functions

 LightDesc (ClassID class_id, unsigned id, unsigned long color)
 LightDesc (const LightDesc &rhs)
LightDescoperator= (const LightDesc &rhs)
virtual ~LightDesc (void)

Detailed Description

The base light object description class.


Constructor & Destructor Documentation

cyber::world::lights::LightDesc::LightDesc ( ClassID  class_id,
unsigned  id,
unsigned long  color 
) [protected]

Explicit constructor.

cyber::world::lights::LightDesc::LightDesc ( const LightDesc rhs  )  [protected]

Copy constructor.

cyber::world::lights::LightDesc::~LightDesc ( void   )  [protected, virtual]

Destructor.


Member Function Documentation

unsigned long cyber::world::lights::LightDesc::get_color (  )  const [inline]

Returns the color of this light.

LightDesc & cyber::world::lights::LightDesc::operator= ( const LightDesc rhs  )  [protected]

Copy assignment operator.

void cyber::world::lights::LightDesc::set_color ( unsigned long  color  )  [inline]

Sets the color of this light.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines