Q Engine Wiki
Brought to you by:
benjaeggi
An entity with a mesh or animated mesh node added to the scene.
Pointer to the scene manager of the internal graphics engine.
Enables or disables lighting on the node of this entity.
Used in engine->createEntity()
.
Call this when you create an entity with new
.
It loads the given mesh and adds a scene node to the scene manager.
Mesh can have this names:
@sphere
- creates a sphere.
@cube
- creates a cube.
fileName
- loads the fileName mesh.
Returns the scene node of this entity.
Sets the entities node. Don't use this.