![]() |
VR-Forces 4.0.4 Class Documentation
|
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, bool doNotAddToMgr=false) | |
| 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. | |
Protected Attributes | |
| DtUniqueID | mySource |
| DtVector | myEnd |
| bool | myDirty |
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.
| makVrv::DtBulletHoleUpdater::DtBulletHoleUpdater | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| bool | doNotAddToMgr = false |
||
| ) |
CTOR.
| virtual makVrv::DtBulletHoleUpdater::~DtBulletHoleUpdater | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtBulletHoleUpdater::update | ( | double | simTime | ) | [virtual] |
Calls doGroundClamp() followed by updateSceneObject()
Implements makVrv::DtUpdater.
| 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.
DtUniqueID makVrv::DtBulletHoleUpdater::mySource [protected] |
DtVector makVrv::DtBulletHoleUpdater::myEnd [protected] |
bool makVrv::DtBulletHoleUpdater::myDirty [protected] |