Method Dot
Dot(Vector3, Vector3)
Calculates the dot product of two vectors.
Declaration
public static float Dot(Vector3 left, Vector3 right)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | left | First source vector. |
| Vector3 | right | Second source vector. |
Returns
| Type | Description |
|---|---|
| System.Single | The dot product of the two vectors. |