CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iModelDataLight Struct Reference

A light source in the scene. More...

#include <mdldata.h>

Inheritance diagram for iModelDataLight:

iBase List of all members.

Public Methods

virtual iObjectQueryObject ()=0
 Query the iObject for this light. More...

virtual float GetRadius () const=0
 Return the radius (brightness) of this light. More...

virtual void SetRadius (float r)=0
 Set the radius (brightness) of this light. More...

virtual const csColorGetColor () const=0
 Return the color of the light. More...

virtual void SetColor (const csColor &)=0
 Set the color of the light. More...

virtual const csVector3GetPosition () const=0
 Set the position of the light. More...

virtual void SetPosition (const csVector3 &)=0
 Return the position of the light. More...

virtual iModelDataLight * Clone () const=0
 Clone this light source. More...


Detailed Description

A light source in the scene.

Definition at line 374 of file imesh/mdldata.h.


Member Function Documentation

virtual iModelDataLight* iModelDataLight::Clone   const [pure virtual]
 

Clone this light source.

virtual const csColor& iModelDataLight::GetColor   const [pure virtual]
 

Return the color of the light.

virtual const csVector3& iModelDataLight::GetPosition   const [pure virtual]
 

Set the position of the light.

virtual float iModelDataLight::GetRadius   const [pure virtual]
 

Return the radius (brightness) of this light.

virtual iObject* iModelDataLight::QueryObject   [pure virtual]
 

Query the iObject for this light.

virtual void iModelDataLight::SetColor const csColor   [pure virtual]
 

Set the color of the light.

virtual void iModelDataLight::SetPosition const csVector3   [pure virtual]
 

Return the position of the light.

virtual void iModelDataLight::SetRadius float    r [pure virtual]
 

Set the radius (brightness) of this light.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14