◆ SCR_BlastedEntityEntry()
void SCR_BlastedEntityEntry.SCR_BlastedEntityEntry |
( |
notnull IEntity | ent, |
|
|
vector | hitPos, |
|
|
vector | hitDir, |
|
|
vector | hitNorm, |
|
|
float | angleCos, |
|
|
float | distance, |
|
|
int | nodeId, |
|
|
int | colliderId, |
|
|
SurfaceProperties | surfaceProp ) |
- Parameters
-
[in] | ent | subject of the entry |
[in] | hitPos | |
[in] | hitDir | |
[in] | hitNorm | normal of the hit surface |
[in] | angleCos | dot product of the blast direction and the diretion from blast origin to the hit position |
[in] | distance | from the blast origin |
[in] | nodeId | |
[in] | colliderId | |
[in] | surfaceProp | |
◆ GetAngleToTarget()
float SCR_BlastedEntityEntry.GetAngleToTarget |
( |
| ) |
|
◆ GetDistanceToTarget()
float SCR_BlastedEntityEntry.GetDistanceToTarget |
( |
| ) |
|
◆ GetTargetColliderId()
int SCR_BlastedEntityEntry.GetTargetColliderId |
( |
| ) |
|
◆ GetTargetEntity()
IEntity SCR_BlastedEntityEntry.GetTargetEntity |
( |
| ) |
|
◆ GetTargetHitPosDirNorm()
void SCR_BlastedEntityEntry.GetTargetHitPosDirNorm |
( |
out vector | hitPosDirNorm[3] | ) |
|
◆ GetTargetNodeId()
int SCR_BlastedEntityEntry.GetTargetNodeId |
( |
| ) |
|
◆ GetTargetSurfaceProps()
SurfaceProperties SCR_BlastedEntityEntry.GetTargetSurfaceProps |
( |
| ) |
|
◆ SetAngleToTarget()
void SCR_BlastedEntityEntry.SetAngleToTarget |
( |
float | newangleCos | ) |
|
- Parameters
-
[in] | newangleCos | dot product of the blast direction and the diretion from blast origin to the hit position |
◆ m_fAngleCos
float SCR_BlastedEntityEntry.m_fAngleCos |
|
protected |
◆ m_fDistance
float SCR_BlastedEntityEntry.m_fDistance |
|
protected |
◆ m_iColliderId
int SCR_BlastedEntityEntry.m_iColliderId |
|
protected |
◆ m_iNodeId
int SCR_BlastedEntityEntry.m_iNodeId |
|
protected |
◆ m_SurfaceProps
SurfaceProperties SCR_BlastedEntityEntry.m_SurfaceProps |
|
protected |
◆ m_TargetEntity
IEntity SCR_BlastedEntityEntry.m_TargetEntity |
|
protected |
◆ m_vHitPosDirNorm
vector SCR_BlastedEntityEntry.m_vHitPosDirNorm[3] |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Weapon/SCR_BlastedEntityEntry.c