|
| CachedDistance (Vector2 startWorldPos, Vector2 endWorldPos, float dist, double recalculationTime) |
|
bool | ShouldUpdateDistance (Vector2 currentStartWorldPos, Vector2 currentEndWorldPos, float minDistanceToUpdate=500.0f) |
|
Definition at line 5 of file CachedDistance.cs.
◆ CachedDistance()
Barotrauma.CachedDistance.CachedDistance |
( |
Vector2 |
startWorldPos, |
|
|
Vector2 |
endWorldPos, |
|
|
float |
dist, |
|
|
double |
recalculationTime |
|
) |
| |
◆ ShouldUpdateDistance()
bool Barotrauma.CachedDistance.ShouldUpdateDistance |
( |
Vector2 |
currentStartWorldPos, |
|
|
Vector2 |
currentEndWorldPos, |
|
|
float |
minDistanceToUpdate = 500.0f |
|
) |
| |
◆ Distance
readonly float Barotrauma.CachedDistance.Distance |
◆ EndWorldPos
readonly Vector2 Barotrauma.CachedDistance.EndWorldPos |
◆ RecalculationTime
double Barotrauma.CachedDistance.RecalculationTime |
◆ StartWorldPos
readonly Vector2 Barotrauma.CachedDistance.StartWorldPos |