VehicleBlocker Class Reference#include <vehicleBlocker.h>
Inheritance diagram for VehicleBlocker:
[legend]
Member Typedef Documentation
Constructor & Destructor Documentation
VehicleBlocker::VehicleBlocker |
( |
|
) |
|
VehicleBlocker::~VehicleBlocker |
( |
|
) |
|
Member Function Documentation
bool VehicleBlocker::onAdd |
( |
|
) |
[protected, virtual] |
Called when the object is added to the sim.
Reimplemented from SceneObject.
void VehicleBlocker::onRemove |
( |
|
) |
[protected, virtual] |
Called when the object is removed from the sim.
Reimplemented from SceneObject.
void VehicleBlocker::buildConvex |
( |
const Box3F & |
box, |
|
|
Convex * |
convex | |
|
) |
| | [protected, virtual] |
Builds a convex hull for this object.
Think of a convex hull as a low-res mesh which covers, as tightly as possible, the object mesh, and is used as a collision mesh. - Parameters:
-
| box | |
| convex | Convex mesh generated (out) |
Reimplemented from SceneObject.
static void VehicleBlocker::initPersistFields |
( |
|
) |
[static] |
Instructs this object to pack its state for transfer over the network.
- Parameters:
-
| conn | Net connection being used |
| mask | Mask indicating fields to transmit. |
| stream | Bitstream to pack data to |
- Returns:
- Any bits which were not dealt with. The value is stored by the networking system. Don't set bits you weren't passed.
Reimplemented from NetObject.
Instructs this object to read state data previously packed with packUpdate.
- Parameters:
-
| conn | Net connection being used |
| stream | stream to read from |
Reimplemented from NetObject.
Friends And Related Function Documentation
friend class VehicleBlockerConvex [friend] |
Field Documentation
|