#include <CustomVertexObject.h>
Public Member Functions | |
| CustomVertexObject (scene::ISceneNode *parent, scene::ISceneManager *mgr, s32 id, video::S3DVertex *vertices, int vertexCount, u16 *indices, int indexCount) | |
| virtual void | OnRegisterSceneNode () |
| virtual void | render () |
|
virtual const core::aabbox3d < f32 > & | getBoundingBox () const |
| virtual video::SMaterial & | getMaterial (s32 i) |
Public Attributes | |
| core::aabbox3d< f32 > | box |
| video::S3DVertex * | vertices |
| u16 * | indices |
| video::SMaterial | material |
| int | vertexCount |
| int | indexCount |
This class is used for creating the Irrlicht player and obstacles nodes.
filename: CustomVertexObject.h
| sonus::CustomVertexObject::CustomVertexObject | ( | scene::ISceneNode * | parent, | |
| scene::ISceneManager * | mgr, | |||
| s32 | id, | |||
| video::S3DVertex * | vertices, | |||
| int | vertexCount, | |||
| u16 * | indices, | |||
| int | indexCount | |||
| ) |
Constructor
| parent | parent scene node | |
| mgr | Irrlicht scene manager | |
| id | see base class | |
| vertices | vertices the object consists of | |
| vertexCount | count of vertices | |
| indices | triangle order list | |
| indexCount | count of list |
1.5.4