Stuff Class Reference

Other useful stuff for the 3d world. More...

#include <Stuff.h>

List of all members.

Public Member Functions

 ~Stuff ()
irr::scene::ISceneNode * createSkybox (const char *folder, const char *name, const char *extension="jpg")
void initBalloon (const char *textureFile, const char *font)
void setBalloonText (const char *textureFile, const char *txt)
irr::scene::IBillboardSceneNode * createNewBalloon (irr::core::vector3df pos, int displayDuration, irr::core::dimension2d< irr::f32 > dimension)
 Create new balloon node.
void initAnimatedWaterMesh (void)
irr::scene::ISceneNode * addAnimatedWater (irr::video::ITexture *texture, irr::core::vector3df size, irr::core::vector3df pos, bool isLighted=false, irr::f32 waveHeight=3.0f, irr::f32 waveSpeed=300.0f, irr::f32 waveLenght=10.0f)
 Add an animated water node.

Friends

void initIrrsimple (void)
 init all - first function to call before calling the others


Detailed Description

Other useful stuff for the 3d world.


Constructor & Destructor Documentation

Stuff::~Stuff  )  [inline]
 


Member Function Documentation

irr::scene::ISceneNode* Stuff::addAnimatedWater irr::video::ITexture *  texture,
irr::core::vector3df  size,
irr::core::vector3df  pos,
bool  isLighted = false,
irr::f32  waveHeight = 3.0f,
irr::f32  waveSpeed = 300.0f,
irr::f32  waveLenght = 10.0f
 

Add an animated water node.

irr::scene::IBillboardSceneNode* Stuff::createNewBalloon irr::core::vector3df  pos,
int  displayDuration,
irr::core::dimension2d< irr::f32 >  dimension
 

Create new balloon node.

ISceneNode * Stuff::createSkybox const char *  folder,
const char *  name,
const char *  extension = "jpg"
 

Create skybox using files in the folder : "<folder>/<name>/" These files must be named :

  • "left.<extension>"
  • "right.<extension>"
  • "front.<extension>"
  • "back.<extension>"
  • "top.<extension>"
  • "bottom.<extension>" Or it can be also just one file named "all.<extension>".

void Stuff::initAnimatedWaterMesh void   ) 
 

Init animated water mesh (hill mesh) Should be called once and before addAnimatedWater

void Stuff::initBalloon const char *  textureFile,
const char *  font
 

Init the balloon with a texture and a text to write on it. Warning : font should be irrlicht font "fonthaettenschweiler.bmp".

void Stuff::setBalloonText const char *  textureFile,
const char *  txt
 

set all balloons text contents (modify balloon texture) nb : If OpenGL isn't used as driver, no text will be displayed


Friends And Related Function Documentation

void initIrrsimple void   )  [friend]
 

init all - first function to call before calling the others


The documentation for this class was generated from the following files:
Generated on Sun Aug 6 10:28:53 2006 for irrsimple by  doxygen 1.4.6-NO