|
| 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.
|
| |
◆ AffectsPosition()
| bool BaseDamageAreaShape.AffectsPosition |
( |
vector | position | ) |
|
◆ Diag_DrawArea()
| void BaseDamageAreaShape.Diag_DrawArea |
( |
int | color | ) |
|
Called when the area has to be drawn.
- Parameters
-
| color | The default color value to draw the area. White for disabled, red for enabled |
◆ GetDamageArea()
| proto external DamageArea BaseDamageAreaShape.GetDamageArea |
( |
| ) |
|
Returns the damage area that is using this shape.
◆ GetDiameter()
| float BaseDamageAreaShape.GetDiameter |
( |
| ) |
|
◆ GetLocalScale()
| proto external float BaseDamageAreaShape.GetLocalScale |
( |
| ) |
|
Returns local scale of the shape.
◆ GetLocalTransform()
| proto external void BaseDamageAreaShape.GetLocalTransform |
( |
out vector | mat[] | ) |
|
Stores the local transform of this shape on mat For scale use GetLocalScale.
◆ GetWorldPosition()
| proto external vector BaseDamageAreaShape.GetWorldPosition |
( |
| ) |
|
◆ GetWorldTransform()
| proto external void BaseDamageAreaShape.GetWorldTransform |
( |
out vector | mat[], |
|
|
out float | scale ) |
Returns the world transform of this shape.
◆ SetLocalScale()
| proto external void BaseDamageAreaShape.SetLocalScale |
( |
float | scale | ) |
|
◆ SetLocalTransform()
| proto external void BaseDamageAreaShape.SetLocalTransform |
( |
vector | mat[], |
|
|
float | scale ) |
Sets the local transform for this area damage.
◆ ShouldAffectEntity()
| bool BaseDamageAreaShape.ShouldAffectEntity |
( |
IEntity | entityToAffect | ) |
|
The documentation for this interface was generated from the following file:
- Game/generated/Damage/DamageAreas/Shapes/BaseDamageAreaShape.c