![]() |
Public API Reference |
![]() |
A list of meshes. More...
#include <iengine/mesh.h>
Public Member Functions | |
virtual int | Add (iMeshWrapper *obj)=0 |
Add a mesh. | |
virtual int | Find (iMeshWrapper *obj) const =0 |
Find a mesh and return its index. | |
virtual iMeshWrapper * | FindByName (const char *Name) const =0 |
Find a mesh by name. | |
virtual iMeshWrapper * | Get (int n) const =0 |
Return a mesh by index. | |
virtual int | GetCount () const =0 |
Return the number of meshes in this list. | |
virtual bool | Remove (iMeshWrapper *obj)=0 |
Remove a mesh. | |
virtual bool | Remove (int n)=0 |
Remove the nth mesh. | |
virtual void | RemoveAll ()=0 |
Remove all meshes. |
A list of meshes.
Main ways to get pointers to this interface:
Main users of this interface:
virtual int iMeshList::Add | ( | iMeshWrapper * | obj | ) | [pure virtual] |
Add a mesh.
virtual int iMeshList::Find | ( | iMeshWrapper * | obj | ) | const [pure virtual] |
Find a mesh and return its index.
virtual iMeshWrapper* iMeshList::FindByName | ( | const char * | Name | ) | const [pure virtual] |
Find a mesh by name.
If there is a colon in the name then this function is able to search for children too. i.e. like mesh:childmesh:childmesh.
virtual iMeshWrapper* iMeshList::Get | ( | int | n | ) | const [pure virtual] |
Return a mesh by index.
virtual int iMeshList::GetCount | ( | ) | const [pure virtual] |
Return the number of meshes in this list.
virtual bool iMeshList::Remove | ( | iMeshWrapper * | obj | ) | [pure virtual] |
Remove a mesh.
virtual bool iMeshList::Remove | ( | int | n | ) | [pure virtual] |
Remove the nth mesh.
virtual void iMeshList::RemoveAll | ( | ) | [pure virtual] |
Remove all meshes.