CSqIrrlicht
Functions | |
| CSqirrNode | AddArrowMesh (float fWidth, float fConeHeight, float fShaftHeight, long lPoints) |
| Inserts an arrow mesh. | |
| CSqirrCamera | AddCamera (CSqirrVector3d &pos, CSqirrVector3d &look) |
| Adds a camera to the scene. | |
| CSqirrNode | AddConeMesh (float fWidth, float fHeight, long lPoints) |
| Inserts a cone mesh. | |
| CSqirrNode | AddCube (float size) |
| Adds a cube. | |
| CSqirrNode | AddCylinderMesh (float fWidth, float fHeight, long lPoints) |
| Inserts a cylinder mesh. | |
| CSqirrNode | AddGrid (float fWidth, float fHeight, long lXPanels, long lYPanels, float fSpace, long lSides, CSqirrColor &rColor) |
| Adds a grid node. | |
| CSqirrNode | AddLight (CSqirrVector3d &pos, CSqirrColorf &col, float rad) |
| Adds a light to the scene. | |
| CSqirrNode | AddMesh (const sqbind::stdString &sFile, float x_fScale, int x_bClearFromCache) |
| Adds a mesh. | |
| int | AddMeshAnimator (sqbind::CSqEngineExport *e, CSqirrNode &n, SquirrelObject soF, long lFreq) |
| Creates a mesh animator. | |
| CSqirrNode | AddPlane (float fWidth, float fHeight, long lSides, CSqirrColor &rColor) |
| Adds a plane. | |
| CSqirrAnimator | AddRotateAnimator (CSqirrVector3d &speed) |
| Creates a rotation animator. | |
| CSqirrNode | AddSkyDome (const sqbind::stdString &sFile, long lHorzRes, long lVertRes, float fTxtPercent, float fSpherePercent) |
| Adds a sky dome to the scene. | |
| CSqirrNode | AddSphere (float fRadius, long lPolyCount) |
| Adds a sphere. | |
| CSqirrNode | AddSphereMesh (float fWidth, float fHeight, long lPoints) |
| Inserts a sphere mesh. | |
| void | AnimateMeshes () |
| Runs mesh animators. | |
| int | Capture (sqbind::CSqBinary *pBin) |
| Captures the current frame buffer data. | |
| CSqirrTexture | CreateRenderTexture (long lWidth, long lHeight, int bMipMapping) |
| Creates a texture suitable for rendering. | |
| CSqirrTexture | CreateTexture (long lWidth, long lHeight, int bMipMapping) |
| Create texture. | |
| int | Draw (CSqirrColor &bg) |
| Draws the scene. | |
| static int | DrawAnaglyph (irr::video::IVideoDriver *pDriver, irr::scene::ISceneManager *pSm, irr::gui::IGUIEnvironment *pGui, irr::scene::ICameraSceneNode *pCamera, irr::video::SColor colBackground, float fWidth, float fFocus, int nDriverType, unsigned long ulREyeKey, unsigned long ulLEyeKey) |
| Draws the sceen in anaglyphic stereo. | |
| int | FillVolume (CSqirrNode &rNode, CSqirrBoundingBox3d &rBb) |
| Scales the node to fill the specified volume. | |
| CSqirrCamera | getCamera () |
| Return default camera. | |
| int | getIntersect (CSqirrVector2d &ptScreen, CSqirrVector3d &pt, CSqirrVector3d &axis, CSqirrVector3d *intersect) |
| Get screen intersect point. | |
| int | getLineIntersect (CSqirrLine &line, CSqirrVector3d &pt, CSqirrVector3d &axis, CSqirrVector3d *intersect) |
| Gets the intersect between a line and a plane. | |
| int | getMouseIntersect (CSqirrVector2d &ptScreen, CSqirrVector3d &pt, CSqirrVector3d &axis, CSqirrVector3d *intersect) |
| Returns the intersection between the mouse and the specified plane. | |
| float | getNodeDist (CSqirrNode &v) |
| Returns the distance from the camera to the specified node. | |
| CSqirrVector2d | getNodeScreenPos (CSqirrNode &rNode) |
| Gets a nodes screen position. | |
| int | getPickPoint (CSqirrVector2d &ptScreen, CSqirrVector3d &pt, CSqirrVector3d *intersect) |
| Returns the specified pick point. | |
| CSqirrVector2d | getScreenPos (CSqirrVector3d &v) |
| Gets a screen position. | |
| int | Init (const sqbind::stdString &sName, int width, int height, int fps) |
| Initializes irrlicht engine. | |
| static int | InsertCone (irr::scene::SMeshBuffer *pMb, irr::core::vector3df center, float fWidth, float fHeight, long lPoints, const irr::video::SColor &color) |
| Inserts a cone into a mesh. | |
| static int | InsertCylinder (irr::scene::SMeshBuffer *pMb, const irr::core::vector3df ¢er, float fWidth, float fHeight, long lPoints, const irr::video::SColor &color) |
| Inserts a cylinder intot the mesh. | |
| static int | InsertPlane (irr::scene::IMeshSceneNode *pNode, const irr::core::vector3df &tl, const irr::core::vector3df &tr, const irr::core::vector3df &bl, const irr::core::vector3df &br, irr::video::SColor &color, long lSides, float minU=0, float maxU=1, float minV=0, float maxV=1) |
| Inserts a plane into the mesh. | |
| static int | InsertPoints (irr::scene::IMeshSceneNode *pNode, irr::scene::SMeshBuffer **pMb, unsigned int lNewVertices, unsigned int lNewIndices, unsigned int &vi, unsigned int &ii) |
| static int | InsertSphere (irr::scene::SMeshBuffer *pMb, const irr::core::vector3df ¢er, float fWidth, float fHeight, long lPoints, const irr::video::SColor &color) |
| Inserts a sphere into a mesh. | |
| CSqirrTexture | LoadTexture (const sqbind::stdString &sFile, int bMipMapping) |
| Loads a texture from a disk image. | |
| CSqirrNode | NodeAtScreen (CSqirrVector2d &ptScreen, long lMask) |
| Returns the first node at the given screen position. | |
| int | OnEvent (const irr::SEvent &rEvent) |
| Called when an event occurs. | |
| int | RenderToTexture (CSqirrTexture *txt, CSqirrNode *pCamera) |
| Draws the scene to a texture. | |
| CSqirrVector3d | ScreenToPlane (CSqirrVector2d &ptScreen, float fDist) |
| Convert screen coords into world coords. | |
| int | screenToPlane (CSqirrVector2d &ptScreen, CSqirrVector3d *ptWorld, float fDist) |
| Converts a 2d screen point into a plane orthogonal to the camera. | |
| int | screenToWorld (CSqirrVector2d &ptScreen, CSqirrVector3d *ptWorld, float fDist) |
| Converts a 2d screen point into a world position. | |
| int | screenToWorldBox (CSqirrRect2d &rcScreen, CSqirrBoundingBox3d *bbWorld, float fDist) |
| Converts a 2d rectangle into a world position. | |
| int | SetAmbientLight (CSqirrColorf &x_col) |
| Sets the ambient color lighting. | |
| int | SetVertexColorAlpha (CSqirrNode &x_node, float x_fAlpha) |
| Sets the vertex alpha. | |
| int | SetVertexColors (CSqirrNode &x_node, CSqirrColor &x_col) |
| Sets the vertex colors on a mesh. | |
Function Documentation
| int InsertPoints | ( | irr::scene::IMeshSceneNode * | pNode, | |
| irr::scene::SMeshBuffer ** | pMb, | |||
| unsigned int | lNewVertices, | |||
| unsigned int | lNewIndices, | |||
| unsigned int & | vi, | |||
| unsigned int & | ii | |||
| ) | [static, inherited] |
Appends specified number of vertices and indices to the end of a mesh.
Generated on Thu Apr 7 2011 23:47:39 for sqmod by
1.7.1
