文档

Unity Engine

Unity Engine

Dot(Vector4, Vector4)

Calculates the dot product of two vectors.
阅读时间1 分钟最后更新于 1 个月前

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
.