|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(const iShape* shape, const cPosition& position, int32_t height);
|shape||The object will be drawn with this shape.|
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 6.03 - Copyright © 2002-2021 PathEngine||next: |