sqmod: CSqirrMeshAnimator

CSqirrMeshAnimator

Functions

void Destroy ()
 Release resources.
void Detach ()
 Detaches without restoring original positions.
int GetMetrics (irr::video::S3DVertex **pOriginal, irr::video::S3DVertex **pCurrent, unsigned int &uPoints, unsigned int *puPitch=NULL)
 Returns vertex buffers and size.
int Init (irr::scene::IMeshSceneNode *pNode)
 Initializes.
int Init (irr::scene::IMeshSceneNode *pNode, SquirrelObject &soF, HSQUIRRELVM hVm, long lSpeed)
 Initializes with callback function.
virtual int ProcessVertices (irr::scene::ISceneManager *pSm, float fClock, irr::video::S3DVertex *pO, irr::video::S3DVertex *pV, unsigned int uPoints)
 Process the vertex buffers the wave function.
int Restore ()
 Restores original vertex positions.
int Run (irr::scene::ISceneManager *pSm, float fClock)
 Runs the animator.
int Run (irr::scene::ISceneManager *pSm, float fClock, sqbind::CSqEngine *pSe)
 Execute squirrel process.