Method StandardizePathDistance
StandardizePathDistance(float)
Standardize a distance along the path based on the path length. If the distance cache is not valid, then calling this will trigger a potentially costly regeneration of the path distance cache
Declaration
public float StandardizePathDistance(float distance)
Parameters
| Type | Name | Description |
|---|---|---|
| float | distance | The distance to standardize |
Returns
| Type | Description |
|---|---|
| float | The standardized distance, ranging from 0 to path length |