Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ConvexPolygonDamageAreaShape Interface Reference
Inheritance diagram for SCR_ConvexPolygonDamageAreaShape:
SCR_BaseDamageAreaShape BaseDamageAreaShape

Public Member Functions

override void Init (IEntity owner)
 
override float GetDiameter ()
 Returns the diameter (radius * 2) of a sphere that encapsulates the entire shape.
 
override bool ShouldAffectEntity (IEntity entityToAffect)
 Returns true if the entity is in the area of influence of this shape (in contact)
 
override bool AffectsPosition (vector position)
 Returns true if this position is contained inside of the shape This method is primarily called by the debug to validate if the point is within the shape.
 
- Public Member Functions inherited from BaseDamageAreaShape
proto external vector GetWorldPosition ()
 
proto external void GetTransform (out vector mat[])
 Returns the local transform of this shape.
 
proto external void SetTransform (vector mat[])
 Sets the local transform for this area damage.
 
proto external DamageArea GetDamageArea ()
 Returns the damage area that is using this shape.
 
proto external void GetWorldTransform (out vector mat[])
 Returns the world transform of this shape.
 
void Diag_DrawArea (int color)
 Called when the area has to be drawn.
 

Protected Attributes

float m_fHeight
 
ref array< vector > m_aSimpleBoundsLS
 
float m_fDiameter
 

Member Function Documentation

◆ AffectsPosition()

override bool SCR_ConvexPolygonDamageAreaShape.AffectsPosition ( vector position)

Returns true if this position is contained inside of the shape This method is primarily called by the debug to validate if the point is within the shape.

Implements BaseDamageAreaShape.

◆ GetDiameter()

override float SCR_ConvexPolygonDamageAreaShape.GetDiameter ( )

Returns the diameter (radius * 2) of a sphere that encapsulates the entire shape.

Implements BaseDamageAreaShape.

◆ Init()

override void SCR_ConvexPolygonDamageAreaShape.Init ( IEntity owner)
Parameters
[in]owner

Implements SCR_BaseDamageAreaShape.

◆ ShouldAffectEntity()

override bool SCR_ConvexPolygonDamageAreaShape.ShouldAffectEntity ( IEntity entityToAffect)

Returns true if the entity is in the area of influence of this shape (in contact)

Implements BaseDamageAreaShape.

Member Data Documentation

◆ m_aSimpleBoundsLS

ref array<vector> SCR_ConvexPolygonDamageAreaShape.m_aSimpleBoundsLS
protected

◆ m_fDiameter

float SCR_ConvexPolygonDamageAreaShape.m_fDiameter
protected

◆ m_fHeight

float SCR_ConvexPolygonDamageAreaShape.m_fHeight
protected

The documentation for this interface was generated from the following file: