Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_BlastedEntityEntry Interface Reference

Public Member Functions

IEntity GetTargetEntity ()
 
void GetTargetHitPosDirNorm (out vector hitPosDirNorm[3])
 
float GetAngleToTarget ()
 
void SetAngleToTarget (float newangleCos)
 
float GetDistanceToTarget ()
 
int GetTargetNodeId ()
 
int GetTargetColliderId ()
 
SurfaceProperties GetTargetSurfaceProps ()
 
void SCR_BlastedEntityEntry (notnull IEntity ent, vector hitPos, vector hitDir, vector hitNorm, float angleCos, float distance, int nodeId, int colliderId, SurfaceProperties surfaceProp)
 

Protected Attributes

IEntity m_TargetEntity
 
vector m_vHitPosDirNorm [3]
 
float m_fAngleCos
 
float m_fDistance
 
int m_iNodeId
 
int m_iColliderId
 
SurfaceProperties m_SurfaceProps
 

Constructor & Destructor Documentation

◆ 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]entsubject of the entry
[in]hitPos
[in]hitDir
[in]hitNormnormal of the hit surface
[in]angleCosdot product of the blast direction and the diretion from blast origin to the hit position
[in]distancefrom the blast origin
[in]nodeId
[in]colliderId
[in]surfaceProp

Member Function Documentation

◆ GetAngleToTarget()

float SCR_BlastedEntityEntry.GetAngleToTarget ( )
Returns

◆ GetDistanceToTarget()

float SCR_BlastedEntityEntry.GetDistanceToTarget ( )
Returns

◆ GetTargetColliderId()

int SCR_BlastedEntityEntry.GetTargetColliderId ( )
Returns

◆ GetTargetEntity()

IEntity SCR_BlastedEntityEntry.GetTargetEntity ( )
Returns

◆ GetTargetHitPosDirNorm()

void SCR_BlastedEntityEntry.GetTargetHitPosDirNorm ( out vector hitPosDirNorm[3])
Parameters
[out]hitPosDirNorm

◆ GetTargetNodeId()

int SCR_BlastedEntityEntry.GetTargetNodeId ( )
Returns

◆ GetTargetSurfaceProps()

SurfaceProperties SCR_BlastedEntityEntry.GetTargetSurfaceProps ( )
Returns

◆ SetAngleToTarget()

void SCR_BlastedEntityEntry.SetAngleToTarget ( float newangleCos)
Parameters
[in]newangleCosdot product of the blast direction and the diretion from blast origin to the hit position

Member Data Documentation

◆ 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: