Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iStarsState Struct Reference

This interface describes the API for the stars mesh object. More...

#include <stars.h>

Inheritance diagram for iStarsState:

iBase List of all members.

Public Methods

virtual void SetBox (const csBox3 &b)=0
 Set box where the stars live.

virtual void GetBox (csBox3 &b) const=0
 Get the box.

virtual void SetColor (const csColor &col)=0
 Set the global color to use.

virtual csColor GetColor () const=0
 Get the color.

virtual void SetMaxColor (const csColor &col)=0
 Set the color used in the distance. More...

virtual csColor GetMaxColor () const=0
 Get the max color.

virtual bool IsMaxColorUsed () const=0
 Return true if max color is used.

virtual void SetDensity (float d)=0
 Set density.

virtual float GetDensity () const=0
 Get density.

virtual void SetMaxDistance (float maxdist)=0
 Set max distance at which stars are visible.

virtual float GetMaxDistance () const=0
 Get max distance at which stars are visible.


Detailed Description

This interface describes the API for the stars mesh object.


Member Function Documentation

void iStarsState::SetMaxColor ( const csColor & col ) [pure virtual]
 

Set the color used in the distance.

If this is used then stars at max distance will have this color (fading is used).


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000