CrystalSpace

Public API Reference

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

iModelDataLight Struct Reference

A light source in the scene. More...

#include <imesh/mdldata.h>

Inheritance diagram for iModelDataLight:

iBase csModelDataLight List of all members.

Public Member Functions

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 iModelDataLightClone () 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  )  const [pure virtual]
 

Clone this light source.

Implemented in csModelDataLight.

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.3.9.1