Barotrauma Client Doc
|
Public Member Functions | |
VoronoiCell (Vector2[] vertices) | |
VoronoiCell (Site site) | |
bool | IsPointInside (Vector2 point) |
bool | IsPointInsideAABB (Vector2 point2, float margin) |
Public Attributes | |
List< GraphEdge > | Edges |
Site | Site |
List< Vector2 > | BodyVertices |
Body | Body |
CellType | CellType |
Vector2 | Translation |
bool | Island |
bool | IsDestructible |
bool | DoesDamage |
Action | OnDestroyed |
Executed when the cell is destroyed (only applies to destructible level walls) More... | |
Properties | |
Vector2 | Center [get] |
Definition at line 143 of file VoronoiElements.cs.
Voronoi2.VoronoiCell.VoronoiCell | ( | Vector2[] | vertices | ) |
Definition at line 171 of file VoronoiElements.cs.
Voronoi2.VoronoiCell.VoronoiCell | ( | Site | site | ) |
Definition at line 194 of file VoronoiElements.cs.
bool Voronoi2.VoronoiCell.IsPointInside | ( | Vector2 | point | ) |
Definition at line 202 of file VoronoiElements.cs.
bool Voronoi2.VoronoiCell.IsPointInsideAABB | ( | Vector2 | point2, |
float | margin | ||
) |
Definition at line 213 of file VoronoiElements.cs.
Body Voronoi2.VoronoiCell.Body |
Definition at line 150 of file VoronoiElements.cs.
List<Vector2> Voronoi2.VoronoiCell.BodyVertices |
Definition at line 148 of file VoronoiElements.cs.
CellType Voronoi2.VoronoiCell.CellType |
Definition at line 152 of file VoronoiElements.cs.
bool Voronoi2.VoronoiCell.DoesDamage |
Definition at line 159 of file VoronoiElements.cs.
List<GraphEdge> Voronoi2.VoronoiCell.Edges |
Definition at line 145 of file VoronoiElements.cs.
bool Voronoi2.VoronoiCell.IsDestructible |
Definition at line 158 of file VoronoiElements.cs.
bool Voronoi2.VoronoiCell.Island |
Definition at line 156 of file VoronoiElements.cs.
Action Voronoi2.VoronoiCell.OnDestroyed |
Executed when the cell is destroyed (only applies to destructible level walls)
Definition at line 164 of file VoronoiElements.cs.
Site Voronoi2.VoronoiCell.Site |
Definition at line 146 of file VoronoiElements.cs.
Vector2 Voronoi2.VoronoiCell.Translation |
Definition at line 154 of file VoronoiElements.cs.
|
get |
Definition at line 166 of file VoronoiElements.cs.