CrystalSpace

Public API Reference

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

iModelDataLight Struct Reference

A light source in the scene. More...

#include <mdldata.h>

Inheritance diagram for iModelDataLight:

iBase csModelDataLight List of all members.

Public Methods

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

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

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

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

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

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

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

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


Detailed Description

A light source in the scene.

Definition at line 373 of file mdldata.h.


Member Function Documentation

virtual iModelDataLight* iModelDataLight::Clone   [pure virtual]
 

Clone this light source.

Implemented in csModelDataLight.

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

Return the color of the light.

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

Set the position of the light.

virtual float iModelDataLight::GetRadius   [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.18