Class containing a mesh who can be looked at, derive from actionMesh. More...
#include <actionMesh.h>
Public Member Functions | |
observationMesh (ACTION_TYPE=ACTION_OBSERVER) | |
Constructor. | |
~observationMesh () | |
Destructor. | |
virtual int | init (int, IAnimatedMeshSceneNode *, int) |
Init the mesh. |
Class containing a mesh who can be looked at, derive from actionMesh.
It's really like an actionMesh, the only difference is that it can be looked at. The action of looking at should be launched when pressing mouse right button
Definition at line 83 of file actionMesh.h.
observationMesh::observationMesh | ( | ACTION_TYPE | Action = ACTION_OBSERVER |
) |
Constructor.
Construct an observationMesh and set actionMesh::actionMesh() with parameter Action
Action | The action type |
Definition at line 86 of file actionMesh.cpp.
References actionMesh::color.
observationMesh::~observationMesh | ( | ) |
Destructor.
Definition at line 91 of file actionMesh.cpp.
int observationMesh::init | ( | int | Id, | |
IAnimatedMeshSceneNode * | Node, | |||
int | Combi | |||
) | [virtual] |
Init the mesh.
Call the actionMesh::init
Id | Id of mesh | |
Node | The pointer to the irrlicht mesh corresponding | |
Combi | Item to combine with |
Reimplemented from actionMesh.
Definition at line 101 of file actionMesh.cpp.
Referenced by lieu::addObservationMesh().