![]() |
VR-Forces 4.0.4 Class Documentation
|
Dummy implementation of DtCharacterModel; generates an error message when created. More...

Public Member Functions | |
| DtDummyCharacterModel (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtDummyCharacterModel () |
Distributed functions. | |
| virtual void | addToScene (const makVrv::DtUniqueID &, int modelSet, int visualizerType) |
| Set the action to attempt. | |
| virtual void | removeFromScene () |
| Set the action to attempt. | |
| virtual void | setCharacterModel (const std::string &appearanceName) |
| Set the action to attempt. | |
| virtual void | setDefaultAppearance (const std::string &appearanceName) |
| Set the action to attempt. | |
| virtual void | setAppearance (const std::string &appearanceName) |
| Set the action to attempt. | |
| virtual void | setHeadAppearance (const std::string &appearanceName) |
| Set the action to attempt. | |
| virtual void | setDesiredAction (const std::string &action, float speed) |
| Set the action to attempt. | |
| virtual void | forceAction (const std::string &action, float speed) |
| Force an action. | |
| virtual void | forceTemporaryAction (const std::string &action, double duration) |
| Force an action for a specific amount of time. | |
| virtual void | setSpeed (float speed) |
| Set the speed of the character. | |
| virtual void | setPosture (int posture) |
| Set the posture of the model. | |
| virtual bool | weaponDeployed () const |
| Get whether the weapon is deployed. | |
| virtual void | setWeaponDeployed (bool deployed) |
| Set whether the weapon is deployed. | |
| virtual void | die (const std::string &deathAction) |
| Tell the character to 'die. | |
| virtual void | revive (const std::string &aliveAction) |
| Revive a previously dead character. | |
| virtual void | setPaused (bool paused) |
| Set that the character is paused. | |
| virtual std::string | className () const |
| Get the class name of the model instance owner. | |
| virtual void | setSolid (bool solid) |
| Set that the model should be solid. | |
| virtual void | setModelScalingEnabled (bool b) |
| Indicate whether or not this model may be model-scaled Default is false. | |
Static Public Attributes | |
| static bool | instanceCreated |
| Static variable set to true when first instance is created, used to prevent more than one error popup from being generated. | |
Dummy implementation of DtCharacterModel; generates an error message when created.
CTOR.
| virtual makVrv::DtDummyCharacterModel::~DtDummyCharacterModel | ( | ) | [virtual] |
| virtual void makVrv::DtDummyCharacterModel::addToScene | ( | const makVrv::DtUniqueID & | , |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtModel.
| virtual void makVrv::DtDummyCharacterModel::removeFromScene | ( | ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtModel.
| virtual void makVrv::DtDummyCharacterModel::setCharacterModel | ( | const std::string & | appearanceName | ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setDefaultAppearance | ( | const std::string & | appearanceName | ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setAppearance | ( | const std::string & | appearanceName | ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setHeadAppearance | ( | const std::string & | appearanceName | ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setDesiredAction | ( | const std::string & | action, |
| float | speed | ||
| ) | [virtual] |
Set the action to attempt.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::forceAction | ( | const std::string & | action, |
| float | speed | ||
| ) | [virtual] |
Force an action.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::forceTemporaryAction | ( | const std::string & | action, |
| double | duration | ||
| ) | [virtual] |
Force an action for a specific amount of time.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setSpeed | ( | float | speed | ) | [virtual] |
Set the speed of the character.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setPosture | ( | int | posture | ) | [virtual] |
Set the posture of the model.
Implements makVrv::DtCharacterModel.
| virtual bool makVrv::DtDummyCharacterModel::weaponDeployed | ( | ) | const [virtual] |
Get whether the weapon is deployed.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setWeaponDeployed | ( | bool | deployed | ) | [virtual] |
Set whether the weapon is deployed.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::die | ( | const std::string & | deathAction | ) | [virtual] |
Tell the character to 'die.
Dead characters perform their death action then disable most dynamic behavior (saving CPU cycles).
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::revive | ( | const std::string & | aliveAction | ) | [virtual] |
Revive a previously dead character.
Implements makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setPaused | ( | bool | paused | ) | [virtual] |
Set that the character is paused.
Implements makVrv::DtCharacterModel.
| virtual std::string makVrv::DtDummyCharacterModel::className | ( | ) | const [virtual] |
Get the class name of the model instance owner.
This is used to control how model instances are created.
Reimplemented from makVrv::DtCharacterModel.
| virtual void makVrv::DtDummyCharacterModel::setSolid | ( | bool | solid | ) | [virtual] |
Set that the model should be solid.
Implements makVrv::DtModel.
| virtual void makVrv::DtDummyCharacterModel::setModelScalingEnabled | ( | bool | b | ) | [virtual] |
Indicate whether or not this model may be model-scaled Default is false.
Implements makVrv::DtCharacterModel.
Static variable set to true when first instance is created, used to prevent more than one error popup from being generated.