Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LLight Class Reference

#include <l3ds.h>

Inheritance diagram for LLight:
LObject

List of all members.

Public Member Functions

 LLight ()
virtual ~LLight ()
void Clear ()
void SetPosition (LVector3 vec)
LVector3 GetPosition ()
void SetColor (LColor3 color)
LColor3 GetColor ()
void SetSpotlight (bool value)
bool GetSpotlight ()
void SetTarget (LVector3 target)
LVector3 GetTarget ()
void SetHotspot (float value)
float GetHotspot ()
void SetFalloff (float value)
float GetFalloff ()
- Public Member Functions inherited from LObject
 LObject ()
virtual ~LObject ()
virtual const std::string & GetName ()
virtual void SetName (const std::string &value)
bool IsObject (const std::string &name)
 LObject ()
virtual ~LObject ()
virtual const char * GetName ()
virtual bool IsObject (const const char *name)

Protected Attributes

LVector3 m_pos
LColor3 m_color
bool m_spotlight
LVector3 m_target
float m_hotspot
float m_falloff
- Protected Attributes inherited from LObject
std::string m_name
Text name

Detailed Description

Definition at line 294 of file l3ds.h.


Constructor & Destructor Documentation

LLight::LLight ( )

Definition at line 857 of file l3ds.cpp.

LLight::~LLight ( )
virtual

Definition at line 863 of file l3ds.cpp.


Member Function Documentation

void LLight::Clear ( )

Definition at line 868 of file l3ds.cpp.

LColor3 LLight::GetColor ( )

Definition at line 890 of file l3ds.cpp.

float LLight::GetFalloff ( )

Definition at line 930 of file l3ds.cpp.

float LLight::GetHotspot ( )

Definition at line 920 of file l3ds.cpp.

LVector3 LLight::GetPosition ( )

Definition at line 880 of file l3ds.cpp.

bool LLight::GetSpotlight ( )

Definition at line 900 of file l3ds.cpp.

LVector3 LLight::GetTarget ( )

Definition at line 910 of file l3ds.cpp.

void LLight::SetColor ( LColor3  color)

Definition at line 885 of file l3ds.cpp.

void LLight::SetFalloff ( float  value)

Definition at line 925 of file l3ds.cpp.

void LLight::SetHotspot ( float  value)

Definition at line 915 of file l3ds.cpp.

void LLight::SetPosition ( LVector3  vec)

Definition at line 875 of file l3ds.cpp.

void LLight::SetSpotlight ( bool  value)

Definition at line 895 of file l3ds.cpp.

void LLight::SetTarget ( LVector3  target)

Definition at line 905 of file l3ds.cpp.


Member Data Documentation

LColor3 LLight::m_color
protected

Definition at line 329 of file l3ds.h.

float LLight::m_falloff
protected

Definition at line 333 of file l3ds.h.

float LLight::m_hotspot
protected

Definition at line 332 of file l3ds.h.

LVector3 LLight::m_pos
protected

Definition at line 328 of file l3ds.h.

bool LLight::m_spotlight
protected

Definition at line 330 of file l3ds.h.

LVector3 LLight::m_target
protected

Definition at line 331 of file l3ds.h.


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