| [ Web Proxy ] |
| Viewing: https://docs.unity3d.com/ScriptReference/Unity.Mathematics.math-distance.html | [Back] [Original] |
| Parameter | Description |
|---|---|
| x | First value to use in distance computation. |
| y | Second value to use in distance computation. |
float The distance between x and y.
Returns the distance between two float values.
| Parameter | Description |
|---|---|
| x | First vector to use in distance computation. |
| y | Second vector to use in distance computation. |
float The distance between x and y.
Returns the distance between two float2 vectors.
| Parameter | Description |
|---|---|
| x | First vector to use in distance computation. |
| y | Second vector to use in distance computation. |
float The distance between x and y.
Returns the distance between two float3 vectors.
| Parameter | Description |
|---|---|
| x | First vector to use in distance computation. |
| y | Second vector to use in distance computation. |
float The distance between x and y.
Returns the distance between two float4 vectors.
| Parameter | Description |
|---|---|
| x | First value to use in distance computation. |
| y | Second value to use in distance computation. |
double The distance between x and y.
Returns the distance between two double values.
| Parameter | Description |
|---|---|
| x | First vector to use in distance computation. |
| y | Second vector to use in distance computation. |
double The distance between x and y.
Returns the distance between two double2 vectors.
| Parameter | Description |
|---|---|
| x | First vector to use in distance computation. |
| y | Second vector to use in distance computation. |
double The distance between x and y.
Returns the distance between two double3 vectors.
| Parameter | Description |
|---|---|
| x | First vector to use in distance computation. |
| y | Second vector to use in distance computation. |
double The distance between x and y.
Returns the distance between two double4 vectors.
| Web Proxy Viewer | New URL | Original Page |