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
선언
public float StandardizePathDistance(float distance)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| float | distance | The distance to standardize |
반환
| 타입 | 설명 |
|---|---|
| float | The standardized distance, ranging from 0 to path length |