![]() |
Public API Reference |
#include <sharevar.h>
Inheritance diagram for iSharedVariable:
Public Types | |
enum | SharedVariableType |
Possible types stored by this class. More... | |
Public Methods | |
virtual iObject * | QueryObject ()=0 |
Get the private object interface. More... | |
virtual void | SetName (const char *name)=0 |
iSharedVariables are referenced by name. Here is where you set it. More... | |
virtual const char * | GetName () const=0 |
Get the name of this variable. More... | |
virtual void | Set (float val)=0 |
Set the variable to a floating pt value. More... | |
virtual float | Get () const=0 |
Get the floating point version of the var value. More... | |
virtual void | SetColor (const csColor &col)=0 |
Set the variable to store a csColor. More... | |
virtual const csColor & | GetColor () const=0 |
Get the csColor from the variable. More... | |
virtual void | SetVector (const csVector3 &v)=0 |
Set the variable to store a csVector3. More... | |
virtual const csVector3 & | GetVector () const=0 |
Get the vector from the variable. More... | |
virtual int | GetType () const=0 |
Get the type currently stored by this variable. More... |
Definition at line 39 of file iengine/sharevar.h.
|
Possible types stored by this class.
Definition at line 69 of file iengine/sharevar.h. |
|
Get the floating point version of the var value.
|
|
Get the csColor from the variable.
|
|
Get the name of this variable.
|
|
Get the type currently stored by this variable.
|
|
Get the vector from the variable.
|
|
Get the private object interface.
|
|
Set the variable to a floating pt value.
|
|
Set the variable to store a csColor.
|
|
iSharedVariables are referenced by name. Here is where you set it.
|
|
Set the variable to store a csVector3.
|