- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- HitData
.Drawer
Syntax
public static bool TryEvaluateProximityToPolyLine(Vector3[] vertices, int vertexCount, float maxDistance, out int index, out float distance, out Vector3 closestPoint)
Parameters
| Name | Type | Description |
|---|---|---|
| vertices | Vector3[] | |
| vertexCount | int | |
| maxDistance | float | |
| index | int | |
| distance | float | |
| closestPoint | Vector3 |
Return Value
| Type | Description |
|---|---|
| bool |