One impact bound to a trigger kind. 更多...
#include <CombatCarrier.h>
Public 属性 | |
| CarrierImpactKind | kind = CarrierImpactKind::Release |
| CarrierTriggerKind | on = CarrierTriggerKind::OnExpire |
| double | damage = 0.0 |
| double | splashRadius = 0.0 |
| int | pierceCount = 0 |
| int | bounceCount = 0 |
| double | restitution = 1.0 |
| LogicalId | childRecipeId |
| std::string | damageType |
| std::string | element |
| double | bounceFriction = 0.0 |
| Bounce tangential velocity loss in [0,1]; restitution scales the remaining vector. | |
| double | bounceSpreadDegrees = 0.0 |
| Seeded bounce cone half-angle in degrees [0,90]; zero is exact specular reflection. | |
| int | randomSeed = 0 |
| Nonnegative bounce random-stream seed, independent of wander streams. | |
友元 | |
| bool | operator== (const CarrierImpact &, const CarrierImpact &)=default |
| Compare impact specifications. | |
详细描述
One impact bound to a trigger kind.
在文件 CombatCarrier.h 第 116 行定义.
友元及相关函数文档
◆ operator==
|
friend |
Compare impact specifications.
类成员变量说明
◆ bounceCount
| int eve::weapon::CarrierImpact::bounceCount = 0 |
Initial bounce budget when kind==Bounce.
在文件 CombatCarrier.h 第 122 行定义.
◆ bounceFriction
| double eve::weapon::CarrierImpact::bounceFriction = 0.0 |
Bounce tangential velocity loss in [0,1]; restitution scales the remaining vector.
在文件 CombatCarrier.h 第 128 行定义.
◆ bounceSpreadDegrees
| double eve::weapon::CarrierImpact::bounceSpreadDegrees = 0.0 |
Seeded bounce cone half-angle in degrees [0,90]; zero is exact specular reflection.
在文件 CombatCarrier.h 第 130 行定义.
◆ childRecipeId
| LogicalId eve::weapon::CarrierImpact::childRecipeId |
在文件 CombatCarrier.h 第 124 行定义.
◆ damage
| double eve::weapon::CarrierImpact::damage = 0.0 |
在文件 CombatCarrier.h 第 119 行定义.
◆ damageType
| std::string eve::weapon::CarrierImpact::damageType |
在文件 CombatCarrier.h 第 125 行定义.
◆ element
| std::string eve::weapon::CarrierImpact::element |
在文件 CombatCarrier.h 第 126 行定义.
◆ kind
| CarrierImpactKind eve::weapon::CarrierImpact::kind = CarrierImpactKind::Release |
在文件 CombatCarrier.h 第 117 行定义.
◆ on
| CarrierTriggerKind eve::weapon::CarrierImpact::on = CarrierTriggerKind::OnExpire |
在文件 CombatCarrier.h 第 118 行定义.
◆ pierceCount
| int eve::weapon::CarrierImpact::pierceCount = 0 |
Initial pierce budget when kind==Pierce.
在文件 CombatCarrier.h 第 121 行定义.
◆ randomSeed
| int eve::weapon::CarrierImpact::randomSeed = 0 |
Nonnegative bounce random-stream seed, independent of wander streams.
在文件 CombatCarrier.h 第 132 行定义.
◆ restitution
| double eve::weapon::CarrierImpact::restitution = 1.0 |
Bounce speed scale in [0,1+].
在文件 CombatCarrier.h 第 123 行定义.
◆ splashRadius
| double eve::weapon::CarrierImpact::splashRadius = 0.0 |
在文件 CombatCarrier.h 第 120 行定义.
该结构体的文档由以下文件生成:
- src/modules/weapon/CombatCarrier.h