| PathEngine home | previous: | next: |
Draws a polygonal object to represent an object with the specified collision shape on the testbed's current mesh.
void drawShape(iShape* shape, const cPosition& position, tSigned32 height);
|
| shape | The object will be drawn with this shape. | ||
| position |
The object will be drawn at this position. This position must be a valid position on the currently set mesh. | ||
| height | Specifies how tall to make the object. |
The shape is drawn as a prism constructed by extruding the collision shape vertically by height.
If there is no currently set mesh then this function returns with no effect.
The shape will be drawn in the testbed's current colour.
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |