![]() |
Public API Reference |
#include <stars.h>
Inheritance diagram for iStarsState:
Public Methods | |
virtual void | SetBox (const csBox3 &b)=0 |
Set box where the stars live. More... | |
virtual void | GetBox (csBox3 &b) const=0 |
Get the box. More... | |
virtual void | SetColor (const csColor &col)=0 |
Set the global color to use. More... | |
virtual csColor | GetColor () const=0 |
Get the color. More... | |
virtual void | SetMaxColor (const csColor &col)=0 |
Set the color used in the distance. More... | |
virtual csColor | GetMaxColor () const=0 |
Get the max color. More... | |
virtual bool | IsMaxColorUsed () const=0 |
Return true if max color is used. More... | |
virtual void | SetDensity (float d)=0 |
Set density. More... | |
virtual float | GetDensity () const=0 |
Get density. More... | |
virtual void | SetMaxDistance (float maxdist)=0 |
Set max distance at which stars are visible. More... | |
virtual float | GetMaxDistance () const=0 |
Get max distance at which stars are visible. More... |
Definition at line 32 of file stars.h.
|
Get the box.
|
|
Get the color.
|
|
Get density.
|
|
Get the max color.
|
|
Get max distance at which stars are visible.
|
|
Return true if max color is used.
|
|
Set box where the stars live.
|
|
Set the global color to use.
|
|
Set density.
|
|
Set the color used in the distance. If this is used then stars at max distance will have this color (fading is used). |
|
Set max distance at which stars are visible.
|