载入中...
搜索中...
未找到
eve::weapon::ICarrierHitProbe::Contact结构体 参考

Owning contact reported between previous and current motion. 更多...

#include <CombatCarrier.h>

Public 属性

ecs::EntityHandle target {}
 
ProjectilePoint point {}
 
ProjectileVector normal {0.0, 1.0, 0.0}
 
std::optional< double > fraction
 Canonical normalized impact time in [0,1] along this swept segment. Legacy probes may omit it: compatibility-only projection from point supplies the inward time. point is the carrier center at impact; normal points out of the obstacle.
 
std::optional< eve::WorldSphereContact > worldContact
 Optional physics provenance; target stays empty unless a gameplay adapter maps it.
 

详细描述

Owning contact reported between previous and current motion.

在文件 CombatCarrier.h 第 313 行定义.

类成员变量说明

◆ fraction

std::optional<double> eve::weapon::ICarrierHitProbe::Contact::fraction

Canonical normalized impact time in [0,1] along this swept segment. Legacy probes may omit it: compatibility-only projection from point supplies the inward time. point is the carrier center at impact; normal points out of the obstacle.

在文件 CombatCarrier.h 第 321 行定义.

被这些函数引用 eve::weapon::WorldHitProbe::query().

◆ normal

ProjectileVector eve::weapon::ICarrierHitProbe::Contact::normal {0.0, 1.0, 0.0}

在文件 CombatCarrier.h 第 316 行定义.

被这些函数引用 eve::weapon::WorldHitProbe::query().

◆ point

ProjectilePoint eve::weapon::ICarrierHitProbe::Contact::point {}

在文件 CombatCarrier.h 第 315 行定义.

被这些函数引用 eve::weapon::WorldHitProbe::query().

◆ target

ecs::EntityHandle eve::weapon::ICarrierHitProbe::Contact::target {}

在文件 CombatCarrier.h 第 314 行定义.

被这些函数引用 eve::weapon::WorldHitProbe::query().

◆ worldContact

std::optional<eve::WorldSphereContact> eve::weapon::ICarrierHitProbe::Contact::worldContact

Optional physics provenance; target stays empty unless a gameplay adapter maps it.

在文件 CombatCarrier.h 第 323 行定义.

被这些函数引用 eve::weapon::WorldHitProbe::query().


该结构体的文档由以下文件生成: