![]() |
Public API Reference |
This interface allows one to access the celentity addon with an easier interface. More...
#include <tools/graphloader.h>
Public Member Functions | |
| virtual csPtr< iCelGraph > | Load (iDocumentNode *node)=0 |
| Load the entity from the document node. | |
| virtual csPtr< iCelGraph > | Load (const char *path, const char *file)=0 |
| Conveniance function to load the entity from a vfs file. | |
This interface allows one to access the celentity addon with an easier interface.
With this addon you can load entities with assocated behaviour and property classes from an XML description file.
Definition at line 41 of file graphloader.h.
| virtual csPtr<iCelGraph> iGraphLoader::Load | ( | iDocumentNode * | node | ) | [pure virtual] |
Load the entity from the document node.
If the optional mesh is given then a pcmesh is automatically created. Returns entity or 0 on failure. In case of failure the error has been reported to the reporter.
| virtual csPtr<iCelGraph> iGraphLoader::Load | ( | const char * | path, |
| const char * | file | ||
| ) | [pure virtual] |
Conveniance function to load the entity from a vfs file.
| path | optional VFS path. Can be 0. |