VR-Forces 4.2 Class Documentation
List of all members | 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]

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.

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 
)

CTOR.

virtual makVrv::DtBulletHoleUpdater::~DtBulletHoleUpdater ( )
virtual

DTOR.

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:

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)