class csCollection : public csObject A collection object is for conveniance of the script language
| | AddObject (csObject* obj) Add an object to the collection. |
| | csCollection () Create a new csCollection with the given name |
| | FindObject (char* name) Find an object with the given name inside this collection |
| | GetNumObjects () Get the number of objects in this collection |
| | Move (const csVector3& v) Relative move |
| | Move (float dx, float dy, float dz) Relative move |
| | operator[] (int i) |
| | SetMove (csSector* home, float x, float y, float z) Set the location of all objects in the collection |
| | SetMove (csSector* home, const csVector3& v) Set the location of all objects in the collection |
| | SetTransform (const csMatrix3& matrix) Set the transformation matrix for all objects in the collection |
| | Transform () Really do the transformation and moving of all objects in the collection |
| | Transform (csMatrix3& matrix) Relative transform |
| | ~csCollection () |
| | objects The list of objects contained in this csCollection. |
A collection object is for conveniance of the script language. Objects are (currently) not really hierarchical in Crystal Space. A collection simulates a hierarchy. The script can then perform operations like 'move' and 'transform' on all the objects in the collection together.
csCollection()
virtual ~csCollection()
void SetMove(csSector* home, const csVector3& v)
void SetMove(csSector* home, float x, float y, float z)
void SetTransform(const csMatrix3& matrix)
void Move(float dx, float dy, float dz)
void Move(const csVector3& v)
void Transform(csMatrix3& matrix)
void Transform()
csObject* FindObject(char* name)
int GetNumObjects()
void AddObject(csObject* obj)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de