![]() |
VR-Forces 5.0.1 Developer's Guide
|
The DtDetonationContext contains all the information necessary for processing a Detonation Interaction for damage adjudication or other information.
Public Types | |
| typedef std::map< DtString, double > | DetonationPowerMap |
| typedef std::map<DtString, double> DtDetonationContext::DetonationPowerMap |
| DtDetonationContext::DtDetonationContext | ( | ) |
| DtDetonationContext::DtDetonationContext | ( | const makVrfEvents::DtDetonationEvent & | detonationInteraction | ) |
|
virtual |
| DtDetonationContext& DtDetonationContext::operator= | ( | const DtDetonationContext & | orig | ) |
|
virtual |
The detonation to which this context refers.
|
virtual |
Indicates whether this detonation is in reference to direct fire or not. Direct fire is fire, such as a bullet or tank shell, which must impact on its target to damage it.
|
virtual |
|
virtual |
When isDirectFire returns true, this range is between the attacker and target. Otherwise, this is the range from the detonation to the target.
|
virtual |
|
virtual |
Set the EventId of the incoming detonation interaction This can be useful in places where you want to make sure the detonation isn't counted twice.
|
virtual |
|
virtual |
The impacted surface of the target.
|
virtual |
|
virtual |
The angle of incidence of the impact, in relation to the target.
|
virtual |
|
virtual |
The munition associated with the detonation.
|
virtual |
|
virtual |
The power of the detonation at the target's location for each relevant type of power.
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
! Default values:
|
protected |
!
|
protected |
! false
|
protected |
! "front"
|
protected |
! 0.0
|
protected |
! 4000.0
|
protected |