Loading...
Searching...
No Matches
DamageAreaShapeBox Interface Reference
Inheritance diagram for DamageAreaShapeBox:
SCR_BaseDamageAreaShape BaseDamageAreaShape

Public Member Functions

proto external vector GetMins ()
 
proto external vector GetMaxs ()
 
proto external void SetBoundingBox (vector mins, vector maxs)
 
- Public Member Functions inherited from SCR_BaseDamageAreaShape
void Init (IEntity owner)
 
- Public Member Functions inherited from BaseDamageAreaShape
proto external vector GetWorldPosition ()
 
proto external void GetLocalTransform (out vector mat[])
 Stores the local transform of this shape on mat For scale use GetLocalScale.
 
proto external float GetLocalScale ()
 Returns local scale of the shape.
 
proto external void SetLocalScale (float scale)
 
proto external void SetLocalTransform (vector mat[], float scale)
 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[], out float scale)
 Returns the world transform of this shape.
 
bool ShouldAffectEntity (IEntity entityToAffect)
 Returns true if the entity is in the area of influence of this shape (in contact)
 
bool AffectsPosition (vector position)
 Returns true if this position is contained inside of the shape.
 
float GetDiameter ()
 Returns the diameter (radius * 2) of a sphere that encapsulates the entire shape.
 
void Diag_DrawArea (int color)
 Called when the area has to be drawn.
 

Member Function Documentation

◆ GetMaxs()

proto external vector DamageAreaShapeBox.GetMaxs ( )

◆ GetMins()

proto external vector DamageAreaShapeBox.GetMins ( )

◆ SetBoundingBox()

proto external void DamageAreaShapeBox.SetBoundingBox ( vector mins,
vector maxs )

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