Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dot(Vector4, Vector4)

Calculates the dot product of two vectors.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float Dot(Vector4 a, Vector4 b)

Parameters

The first vector.

The second vector.

Returns

Type

Description

floatThe dot product of
a
and
b
.