VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtBulletHoleUpdater Class Reference

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...

Inheritance diagram for makVrv::DtBulletHoleUpdater:
Inheritance graph
[legend]

List of all members.

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

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,
bool  doNotAddToMgr = false 
)

CTOR.

DTOR.


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)