DtBulletHoleUpdater is an updater that is given a position and orientation, and depending on how it is configured, updates a scene object with a position and orientation that are clamped to the underlying terrain.
More...
Public Member Functions |
| | DtBulletHoleUpdater (DtDe &de, DtUniqueID id) |
| | CTOR.
|
| virtual | ~DtBulletHoleUpdater () |
| | DTOR.
|
| virtual void | update (double simTime) |
| | Calls doGroundClamp() followed by updateSceneObject()
|
| virtual void | setEnabled (bool enabled) |
| | Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.
|
| virtual void | setBulletEnd (const DtVector &end) |
| | Set the bullet's trajectory, relative to the shot's origin.
|
| virtual void | setBulletSource (DtUniqueID sourceId) |
| | Set the unique ID of the entity that fired the bullet.
|
Detailed Description
DtBulletHoleUpdater is an updater that is given a position and orientation, and depending on how it is configured, updates a scene object with a position and orientation that are clamped to the underlying terrain.
Constructor & Destructor Documentation
| makVrv::DtBulletHoleUpdater::DtBulletHoleUpdater |
( |
DtDe & |
de, |
|
|
DtUniqueID |
id |
|
) |
| |
| virtual makVrv::DtBulletHoleUpdater::~DtBulletHoleUpdater |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtBulletHoleUpdater::update |
( |
double |
simTime | ) |
|
|
virtual |
Calls doGroundClamp() followed by updateSceneObject()
| virtual void makVrv::DtBulletHoleUpdater::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.
| virtual void makVrv::DtBulletHoleUpdater::setBulletEnd |
( |
const DtVector & |
end | ) |
|
|
virtual |
Set the bullet's trajectory, relative to the shot's origin.
| virtual void makVrv::DtBulletHoleUpdater::setBulletSource |
( |
DtUniqueID |
sourceId | ) |
|
|
virtual |
Set the unique ID of the entity that fired the bullet.
Member Data Documentation
| DtUniqueID makVrv::DtBulletHoleUpdater::mySource |
|
protected |
| DtVector makVrv::DtBulletHoleUpdater::myEnd |
|
protected |
| bool makVrv::DtBulletHoleUpdater::myDirty |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/examples/exampleBulletHole/DtBulletHoleUpdater.h