Click or drag to resize

VectorExtensionsDot Method (Vector3, Vector3)

Equivalent to Vector3.Dot(v1, v2).

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static float Dot(
	this Vector3 vector1,
	Vector3 vector2
)

Parameters

vector1
Type: Vector3
The first operand.
vector2
Type: Vector3
The second operand.

Return Value

Type: Single
Vector3.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector3. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also