|
| 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.
|
| |
| 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.
|
| |
◆ 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 | ) |
|
◆ 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.
◆ 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:
- Game/Damage/DamageAreas/Shapes/SCR_ConvexPolygonDamageAreaShape.c